aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove useless InnerJoinDependency, inner joins are performed throughEmilio Tagua2009-08-191-21/+4
* Remove whitespace.Emilio Tagua2009-08-191-0/+1
* Use immutable relation objects to generate queries.Emilio Tagua2009-08-181-19/+18
* Use finder options as relation method names to provide more familiarEmilio Tagua2009-08-181-17/+17
* Clean up relation joins when finding records with included associations.Emilio Tagua2009-08-171-12/+12
* Use ARel's joins when building a query for finding records with includedEmilio Tagua2009-08-141-48/+58
* Merge commit 'rails/master'Emilio Tagua2009-08-101-17/+49
|\
| * Enable has_many :through for going through a has_one association on the join ...Gabe da Silveira2009-08-101-2/+29
| * Changed to use klass instead of constantizing in assign_ids generated methodDmitry Ratnikov2009-08-091-1/+1
| * Fix for nested :include with namespaced models.Rich Bradley2009-08-091-1/+1
* | Removed unused methods.Emilio Tagua2009-08-071-70/+56
* | Removed useless OR.Emilio Tagua2009-08-071-1/+1
* | More work on removing plain SQL from associations and use ARel instead.Emilio Tagua2009-08-071-20/+19
* | Merge commit 'rails/master'Emilio Tagua2009-07-311-5/+71
|\|
| * Merge docrailsPratik Naik2009-07-251-5/+71
* | Introduced ActiveRecord::Relation, a layer between an ARel relation and an AR...Emilio Tagua2009-07-211-8/+9
* | Merge commit 'rails/master'Emilio Tagua2009-07-161-3/+6
|\|
| * Add primary_key option to belongs_to associationSzymon Nowak2009-07-151-3/+6
* | Added ActiveRecord::Base#(where|join|project|group|order|take|skip) methods.Emilio Tagua2009-07-161-8/+8
* | Merge commit 'rails/master'Emilio Tagua2009-07-141-1/+8
|\|
| * Use map! instead of map for <association>_idsPratik Naik2009-07-131-2/+2
| * Optimize <association>_ids for hm:t with belongs_to sourcePratik Naik2009-07-131-1/+8
* | Arel now buils SQL queries for associations. Removed old code andEmilio Tagua2009-06-231-47/+6
* | Leave the quoting part to ARelEmilio Tagua2009-06-121-7/+2
|\|
| * HasOneThroughAssociation still shouldn't derive from HasManyThroughAssociation.Adam Milligan2009-06-121-7/+2
* | Use ARel in SQL generation through associationsEmilio Tagua2009-06-101-11/+15
* | Merge commit 'rails/master'Emilio Tagua2009-06-021-1/+1
|\|
| * Break up DependencyModule's dual function of providing a "depend_on" DSL and ...Joshua Peek2009-05-281-1/+1
* | Merge commit 'rails/master'Emilio Tagua2009-05-181-1/+3
|\|
| * Fixed limited eager loading associations with numbers in the name [#2668 stat...Benjamin Floering2009-05-181-1/+1
| * Cherry-pick core extensionsJeremy Kemper2009-05-131-0/+2
* | Merge commit 'rails/master'Emilio Tagua2009-05-121-10/+26
|\|
| * Use DependencyModule for included hooks in ActiveRecordBryan Helmkamp2009-05-111-4/+2
| * Fixed eager load error on find with include => [:table_name] and hash conditi...Anthony Crumley2009-05-101-4/+16
| * honour :inverse_of for joins based includeFrederick Cheung2009-05-101-2/+8
* | Merge commit 'rails/master'Emilio Tagua2009-05-051-3/+9
|\|
| * Providing support for :inverse_of as an option to associations.Murray Steele2009-05-041-3/+9
* | Calculations now use Arel to construct the query.Emilio Tagua2009-04-291-10/+18
|/
* Ensure :dependent => :delete_all works for association with hash conditionsPratik Naik2009-04-201-1/+1
* Ensure JoinAssociation uses aliased table name when multiple associations hav...Pratik Naik2009-04-201-1/+1
* Added :touch option to belongs_to associations that will touch the parent rec...David Heinemeier Hansson2009-04-161-23/+45
* Ensure NoMethodError isn't raised when some of the nested eager loaded associ...Murray Steele2009-03-121-4/+9
* Fix RDoc grammar and ensure hm:t tests can run in isolation. [#1644 state:res...Adam Milligan2009-03-071-1/+1
* Ensure belongs_to association with a counter cache in name spaced model works...Adam Cooper2009-03-061-3/+1
* Ensure self referential HABTM associations raise an exception if association_...Tom Lea2009-03-061-0/+10
* Force all internal calls to Array#to_sentence to use English [#2010 state:res...David Heinemeier Hansson2009-02-271-1/+1
* Fixed that autosave should validate associations even if master is invalid [#...David Heinemeier Hansson2009-02-271-118/+2
* Merge with docrailsPratik Naik2009-02-241-36/+29
* Merge docrails along with the new guides and guides generation codePratik Naik2009-02-061-0/+16
* Merge docrailsPratik Naik2009-02-011-4/+5