aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Expand)AuthorAgeFilesLines
* Add some note on adding index to HABTM tablePrem Sichanugrist2011-10-201-0/+4
* Use new migration style in HABTM join tablePrem Sichanugrist2011-10-201-5/+1
* fixing docs for delete_sql where quotes should be used in this example.Diego Plentz2011-09-261-1/+1
* [:class_name] option in belongs_to should mention belongs_to and not has_oneErik Behrends2011-09-131-1/+1
* Updated the docs for the has_many :finder_sql option to reflect changes made ...Alan Larkin2011-08-201-6/+10
* Add a proxy_association method to association proxies, which can be called by...Jon Leighton2011-07-271-0/+6
* :joins => joinsAkira Matsuda2011-07-081-12/+12
* :include => includesAkira Matsuda2011-07-081-7/+7
* find(:first) => firstAkira Matsuda2011-07-081-5/+5
* find(:all) => allAkira Matsuda2011-07-081-18/+18
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-061-4/+4
|\
| * Fix font styling on associations.rbSebastian Martinez2011-05-261-4/+4
* | Corrected some typos and American vs. Queen's English issuesLee Reilly2011-05-291-1/+1
* | Removes the restriction on primary key when joining in a habtm && test that i...Mohammad El-Abid2011-05-261-6/+0
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-251-30/+32
|\
| * has_many :dependent => :restrict raises an exception but is not documented ap...Aditya Sanghi2011-05-221-2/+4
| * Changing examples: use 'each' instead of 'for in'Guillermo Iguaran2011-05-191-4/+4
| * Remove extra white-spaces.Sebastian Martinez2011-05-191-24/+24
* | Remove extra white spaces.Sebastian Martinez2011-05-191-3/+3
* | Implement proxy_owner, proxy_target and proxy_reflection methods on Collectio...Jon Leighton2011-05-191-5/+6
|/
* :touch => :symbol also updates the updated_at attributeBruno Michel2011-05-101-1/+1
* Abstract some common code from AssociationScope and JoinDependency::JoinAssoc...Jon Leighton2011-03-111-0/+1
* Move the code which builds a scope for through associations into a generic As...Jon Leighton2011-03-101-3/+4
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-554/+207
|\
| * Move JoinDependency and friends from ActiveRecord::Associations::ClassMethods...Jon Leighton2011-02-281-2/+2
| * Rewrote AssociationPreload.Jon Leighton2011-02-281-0/+2
| * Use proper objects to do the work to build the associations (adding methods, ...Jon Leighton2011-02-211-387/+22
| * merges docrailsXavier Noria2011-02-181-1/+1
| |\
| | * Fix Typos: remove several occurences of the theNicholas Rowe2011-02-171-1/+1
| * | Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-34/+30
| * | Allow building and then later saving has_many :through records, such that the...Jon Leighton2011-02-181-7/+31
| * | Ensure that association_ids uses the correct attribute where the association ...Jon Leighton2011-02-181-2/+5
| * | Documentation for recent refinements to association deletionJon Leighton2011-02-071-3/+75
| * | Support the :dependent option on has_many :through associations. For historic...Jon Leighton2011-02-071-2/+1
| |/
| * Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-051-1/+1
| |\
| | * keep options titles consistent to "Options"Gabriel Horner2011-02-031-1/+1
| * | Fixing ordering of HABTM association deletion [#6191 state:resolved]Edward Faulkner2011-02-041-1/+1
| |/
| * Removed support for accessing attributes on a has_and_belongs_to_many join ta...Jon Leighton2011-01-161-6/+0
| * Abstract common code from BelongsToAssociation and HasOneAssociation into Sin...Jon Leighton2011-01-161-0/+1
| * Document the new create_association! method on one-to-one associationsJon Leighton2011-01-161-1/+9
| * Add create_association! for belongs_toJon Leighton2011-01-161-3/+3
| * Support for create_association! for has_one associationsJon Leighton2011-01-111-0/+1
| * Refactor the code for singular association constructors. This will allow me t...Jon Leighton2011-01-111-8/+13
| * It's not necessary to pass the association proxy class around nowJon Leighton2011-01-111-22/+15
| * Get rid of set_association_target and association_loaded? as the parts of the...Jon Leighton2011-01-111-12/+0
| * DRY up the code which instantiates the association proxyJon Leighton2011-01-111-35/+24
| * Document the recent changes to association assignmentJon Leighton2011-01-111-4/+9
| * Return value is irrelevant here as the RHS of the assignment is always return...Jon Leighton2011-01-111-1/+0
| * Remove incorrect documentation about build_assoc on has_one. This is proven, ...Jon Leighton2011-01-111-2/+1
| * For a singular association, it should be build_association, rather than assoc...Jon Leighton2011-01-111-1/+1