Method: ActiveRecord::Reflection::AssociationReflection#clear_association_scope_cache
- Defined in:
- activerecord/lib/active_record/reflection.rb
#clear_association_scope_cache ⇒ Object
This is for clearing cache on the reflection. Useful for tests that need to compare SQL queries on associations.
665 666 667 |
# File 'activerecord/lib/active_record/reflection.rb', line 665 def clear_association_scope_cache # :nodoc: klass.initialize_find_by_cache end |