Class: Clowne::Adapters::ActiveRecord::Associations::Noop
- Inherits:
-
Base
- Object
- Base::Association
- Base
- Clowne::Adapters::ActiveRecord::Associations::Noop
- Defined in:
- lib/clowne/adapters/active_record/associations/noop.rb
Instance Method Summary collapse
Instance Method Details
#call(record) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/clowne/adapters/active_record/associations/noop.rb', line 8 def call(record) warn( "[Clowne] Reflection #{reflection.class.name} is not supported "\ "(#{@association_name} for #{@source.class})" ) record end |