Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 7, 2011
  1. Jon Leighton

    When you add a record to a polymorphic has_one, you should be able to…

    jonleighton authored
    … access the owner from the associated record
  2. Jon Leighton

    Allow polymorphic has_one to work when the association is set before …

    jonleighton authored
    …the owner has been saved. Fixes #1524.
Commits on Apr 13, 2011
  1. Prem Sichanugrist David Heinemeier Hansson

    Remove `#among?` from Active Support

    sikachu authored dhh committed
    After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now.
    
    It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
Commits on Apr 11, 2011
  1. David Heinemeier Hansson
Commits on Apr 10, 2011
  1. Prem Sichanugrist David Heinemeier Hansson

    Using Object#in? and Object#either? in various places

    sikachu authored dhh committed
    There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
Commits on Mar 10, 2011
  1. Jon Leighton

    Move the code which builds a scope for through associations into a ge…

    jonleighton authored
    …neric AssociationScope class which is capable of building a scope for any association.
Commits on Mar 5, 2011
  1. R.T. Lechow Xavier Noria

    Active Record typos.

    rtlechow authored fxn committed
Commits on Mar 4, 2011
  1. Jon Leighton Aaron Patterson

    Fix a couple of tests in join_model_test.rb which were failing when t…

    jonleighton authored tenderlove committed
    …he identity map is turned off
Commits on Feb 21, 2011
  1. Jon Leighton Aaron Patterson

    Rename target_klass to klass

    jonleighton authored tenderlove committed
  2. Jon Leighton Aaron Patterson

    Delegate Association#options to the reflection, and replace 'reflecti…

    jonleighton authored tenderlove committed
    …on.options' with 'options'. Also add through_options and source_options methods for through associations.
  3. Jon Leighton Aaron Patterson

    Associations - where possible, call attributes methods rather than di…

    jonleighton authored tenderlove committed
    …rectly accessing the instance variables
Commits on Feb 18, 2011
  1. Emilio Tagua
  2. Emilio Tagua
  3. Emilio Tagua

    Merge remote branch 'rails/master' into identity_map

    miloops authored
    Conflicts:
    	activerecord/lib/active_record/associations/association.rb
    	activerecord/lib/active_record/fixtures.rb
  4. 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.