Skip to content
This repository

Apr 04, 2011

  1. Emilio Tagua

    Add log message when loading records from Identity Map.

    Signed-off-by: José Valim <jose.valim@gmail.com>
    miloops authored josevalim committed

Feb 18, 2011

  1. Emilio Tagua

    No need to have reinit_with inside an InstanceMethods module.

    miloops authored

Feb 15, 2011

  1. Emilio Tagua

    Merge remote branch 'rails/master' into identity_map

    Conflicts:
    	activerecord/examples/performance.rb
    	activerecord/lib/active_record/association_preload.rb
    	activerecord/lib/active_record/associations.rb
    	activerecord/lib/active_record/associations/association_proxy.rb
    	activerecord/lib/active_record/autosave_association.rb
    	activerecord/lib/active_record/base.rb
    	activerecord/lib/active_record/nested_attributes.rb
    	activerecord/test/cases/relations_test.rb
    miloops authored

Nov 19, 2010

  1. Emilio Tagua

    No need to specify clear is a method from IM when we are inside IM.

    miloops authored
  2. Emilio Tagua

    IM enable should be kept in current thread.

    miloops authored
  3. Emilio Tagua

    identity_map name is used for configuration, use IdentityMap to acces…

    …s it.
    miloops authored
  4. Emilio Tagua

    We have to check object class to avoid issues when using STI.

    miloops authored
  5. Emilio Tagua

    IM is disabled by default.

    miloops authored
  6. Emilio Tagua

    No need to check returned object now that weakhash is gone.

    miloops authored
  7. Emilio Tagua

    Usa Hash instead of WeakHash.

    miloops authored
  8. Emilio Tagua

    Revert "Use ActiveSupport::WeakHash for MRI, JRuby prefers Weakling."

    This reverts commit 3cddebc.
    
    Conflicts:
    
    	activerecord/lib/active_record/identity_map.rb
    	activesupport/lib/active_support/weak_hash.rb
    miloops authored
  9. Emilio Tagua

    Set IdentityMap disabled by default.

    miloops authored
  10. Emilio Tagua

    Added method to IM to remove objects by class and id. Then used it to…

    … remove objects when updating counters.
    miloops authored
  11. Emilio Tagua

    Don't load IdentityMap middleware if not enabled. Simplify middleware.

    miloops authored
  12. Emilio Tagua

    Don't wrap into identity map if it is disabled.

    miloops authored
  13. Emilio Tagua

    Use block syntax in IdentityMap middleware.

    miloops authored
  14. Emilio Tagua

    Change API name, we don't need any param.

    miloops authored
  15. Emilio Tagua

    Use just one repository and keep it in the current thread.

    miloops authored
  16. Emilio Tagua

    Use IdentityMap middleware to flush map on each request.

    miloops authored
  17. Emilio Tagua

    Use ActiveSupport::WeakHash for MRI, JRuby prefers Weakling.

    miloops authored
  18. Emilio Tagua

    Use hash[:Post][1] style identity maps for each table.

    miloops authored
  19. Emilio Tagua

    IdentityMap is enabled by default.

    miloops authored
  20. Emilio Tagua

    Add docs to Identity Map.

    miloops authored
  21. Emilio Tagua

    Added config syntax to enable/disable identity map: config.active_rec…

    …ord.identity_map = true
    miloops authored
  22. Emilio Tagua

    Set Identity Map disabled by default. Enable it for testing.

    miloops authored
  23. Emilio Tagua

    Use strings primary keys in identity map keys to avoid problems with …

    …casting and also allow strings primary keys.
    miloops authored
  24. Emilio Tagua

    Use yield instead block argument.

    miloops authored
Something went wrong with that request. Please try again.