Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 1, 2012
  1. Jon Leighton

    Merge pull request #4543 from jdelStrother/find_or_init

    jonleighton authored
    Don't instantiate two objects in collection proxy / find_or_instantiate_by
Commits on Dec 8, 2011
  1. Jon Leighton
Commits on Nov 30, 2011
  1. Bogdan Gusiev
Commits on Sep 26, 2011
  1. Jon Leighton
Commits on Jul 27, 2011
  1. Jon Leighton

    Add a proxy_association method to association proxies, which can be c…

    jonleighton authored
    …alled by association extensions to access information about the association. This replaces proxy_owner etc with proxy_association.owner.
Commits on Jul 7, 2011
  1. Akira Matsuda

    find(:first) => first

    amatsuda authored
Commits on Jun 30, 2011
  1. Aaron Patterson
Commits on Jun 8, 2011
  1. Santiago Pastorino
Commits on May 31, 2011
  1. Josh Kalderimis Jon Leighton

    added an alias for new to build to the AR collection proxy, this corr…

    joshk authored jonleighton committed
    …ects an issue where the collection proxies were not consistent
Commits on May 25, 2011
  1. Josh Kalderimis
Commits on May 19, 2011
  1. Jon Leighton

    Implement proxy_owner, proxy_target and proxy_reflection methods on C…

    jonleighton authored
    …ollectionProxy with deprecations. Fixes #1148.
Commits on May 1, 2011
  1. Nick Howard

    Fix for lighthouse #6741

    baroquebobcat authored
    - adds tests for find_or_create_by and find_or_initialize_by on has_many associations
    - changes the behavior of ActiveRecord::Associations::CollectionProxy#method_missing to differ to
      ActiveRecord::FinderMethods#find_or_instantiator_by_attributes for arg processing and saving so
      find_or_create_by's api on associations will be consistent w/ the api for model classes.
Commits on Apr 13, 2011
  1. Jon Leighton Aaron Patterson

    Removing the scope-caching which happens on association proxies, beca…

    jonleighton authored tenderlove committed
    …use the query is already cached by the query cacher. For formalised proof see
Commits on Feb 18, 2011
  1. Jon Leighton

    Split AssociationProxy into an Association class (and subclasses) whi…

    jonleighton authored
    …ch manages the association, and a CollectionProxy class which is *only* a proxy. Singular associations no longer have a proxy. See CHANGELOG for more.
Something went wrong with that request. Please try again.