Method: ActiveRecord::Delegation.uncacheable_methods
- Defined in:
- activerecord/lib/active_record/relation/delegation.rb
.uncacheable_methods ⇒ Object
17 18 19 20 21 |
# File 'activerecord/lib/active_record/relation/delegation.rb', line 17 def uncacheable_methods @uncacheable_methods ||= ( delegated_classes.flat_map(&:public_instance_methods) - ActiveRecord::Relation.public_instance_methods ).to_set.freeze end |