Module: ActionController::Base::IdentityMap::InstanceMethods
- Included in:
- ActionController::Base
- Defined in:
- lib/identity_map/action_controller/dispatcher.rb
Instance Method Summary collapse
Instance Method Details
#with_identity_map ⇒ Object
5 6 7 8 9 |
# File 'lib/identity_map/action_controller/dispatcher.rb', line 5 def with_identity_map ActiveRecord::Base.with_id_map { yield } end |
#without_identity_map ⇒ Object
11 12 13 14 15 |
# File 'lib/identity_map/action_controller/dispatcher.rb', line 11 def without_identity_map ActiveRecord::Base.without_id_map { yield } end |