aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Expand)AuthorAgeFilesLines
* Migrate all the calculation methods to RelationPratik Naik2009-12-291-6/+5
* Merge commit 'Fingertips/master'Jeremy Kemper2009-12-281-2/+2
|\
| * Make polymorphic_inverse_of in Reflection throw an InverseOfAssociationNotFou...Murray Steele2009-12-281-2/+2
* | Add Model.having and Relation#havingPratik Naik2009-12-291-2/+4
|/
* Use relation.from when constructing a relationPratik Naik2009-12-281-2/+3
* Add new finder methods to association collection.Pratik Naik2009-12-271-2/+2
* Rename Model.conditions and relation.conditions to .wherePratik Naik2009-12-261-3/+3
* When passing force_reload = true to an association, don't use the query cache...Will2009-12-161-2/+2
* Revert "Revert "Assert primary key does not exist in habtm when the associati...Jeremy Kemper2009-11-231-1/+9
* Insert generated association members in the same order they are specified whe...Gabe da Silveira2009-11-171-2/+3
* Revert "Split arel_table into method to get a relation and another to memoize...Jeremy Kemper2009-11-131-2/+2
* Split arel_table into method to get a relation and another to memoize the def...Jeremy Kemper2009-11-131-2/+2
* Ruby 1.9.2: avoid #flattenJeremy Kemper2009-11-131-6/+10
* delete correct records for a has_many with :primary_key and :dependent => :de...Matt Jones2009-11-101-1/+1
* Arel::In -> Arel::Predicates::InJeremy Kemper2009-11-021-1/+1
* Merge branch 'associations_2'Emilio Tagua2009-10-051-2/+2
|\
| * Added eager loading support to Relation and ActiveRecord#all.Emilio Tagua2009-10-051-2/+2
* | Merge commit 'rails/master'Emilio Tagua2009-10-021-1/+3
|\ \
| * | Make has_one with :conditions hash scope build or creation of the associated ...Luciano G Panaro2009-09-281-1/+3
* | | Merge commit 'rails/master'Emilio Tagua2009-09-141-3/+4
|\| |
| * | Added some documentation about setting :autosave => false on an association.Eloy Duran2009-09-121-3/+4
* | | Merge commit 'rails/master'Emilio Tagua2009-09-081-17/+36
|\| |
| * | Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-081-17/+36
* | | Merge commit 'rails/master'Emilio Tagua2009-09-081-11/+2
|\| |
| * | Revert "Assert primary key does not exist in habtm when the association is de...Jeremy Kemper2009-09-021-11/+11
* | | Merge commit 'rails/master'Emilio Tagua2009-09-011-2/+11
|\| | | |/ |/|
| * Assert primary key does not exist in habtm when the association is defined, i...José Valim2009-09-011-12/+12
* | Remove useless conditionals/local var.Emilio Tagua2009-08-191-5/+1
* | Make sure join association methods are called once.Emilio Tagua2009-08-191-9/+10
* | Don't sanitize_sql where it doesn't make sense.Emilio Tagua2009-08-191-2/+2
* | Remove old method and comment.Emilio Tagua2009-08-191-14/+0
* | 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