Module: Lyra::Interceptors::AssociationInterceptor::HasOneAssociationPatch
- Defined in:
- lib/lyra/interceptors/association_interceptor.rb
Instance Method Summary collapse
-
#find_target(async: false) ⇒ Object
Rails 8+ passes async: keyword argument to find_target.
Instance Method Details
#find_target(async: false) ⇒ Object
Rails 8+ passes async: keyword argument to find_target
63 64 65 66 67 68 69 |
# File 'lib/lyra/interceptors/association_interceptor.rb', line 63 def find_target(async: false) if lyra_should_use_cache? lyra_find_target_from_cache else super end end |