aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Add Relation#includes to be an equivalent of current finder option :includePratik Naik2010-01-031-1/+1
* Get rid of Model.construct_finder_arel_with_includes. Use construct_finder_ar...Pratik Naik2010-01-031-1/+1
* Use Arel::Table instead of ActiveRecord::Relation from HABTM and has_many#del...Pratik Naik2010-01-012-4/+4
* Make sure association proxy does not pass quoted table name to sanitize_sqlPratik Naik2010-01-011-1/+1
* Add Relation#delete [Pratik Naik, Emilio Tagua]Pratik Naik2010-01-011-1/+1
* Get rid of DeprecatedCallbacks in ActiveRecord::Associations and finally remo...José Valim2009-12-301-1/+8
* Migrate all the calculation methods to RelationPratik Naik2009-12-291-1/+1
* Merge commit 'Fingertips/master'Jeremy Kemper2009-12-282-12/+36
|\
| * Provide a slightly more robust we_can_set_the_inverse_on_this? method for pol...Murray Steele2009-12-281-2/+7
| * Add inverse polymorphic association support. [#3520 state:resolved]George Ogata2009-12-281-10/+29
| * Add more tests for the various ways we can assign objects to associations. [#...Murray Steele2009-12-281-2/+1
| * Set inverse for #replace on a has_one association. [#3513 state:resolved]George Ogata2009-12-281-0/+1
* | Add Model.having and Relation#havingPratik Naik2009-12-291-1/+1
|/
* Add Model.readonly and association_collection#readonly finder methodPratik Naik2009-12-281-1/+1
* Add Model.lock and relation#lock now that arel has lockingPratik Naik2009-12-281-1/+1
* Add Model.from and association_collection#from finder methodsPratik Naik2009-12-281-1/+1
* Rewrite AssociationCollection#find using relationsPratik Naik2009-12-271-19/+13
* Add new finder methods to association collection.Pratik Naik2009-12-271-2/+17
* Rename Model.conditions and relation.conditions to .wherePratik Naik2009-12-262-2/+2
* Revert "Fix instance_eval calls to association proxies"Joshua Peek2009-12-121-2/+6
* Fix instance_eval calls to association proxiesMat Brown2009-12-021-6/+2
* Revert "Revert "Assert primary key does not exist in habtm when the associati...Jeremy Kemper2009-11-231-13/+1
* Ruby 1.9.2: use recursive flattenJeremy Kemper2009-11-141-7/+1
* Ruby 1.9.2: fix flatten_deeper to preserve nilsJeremy Kemper2009-11-141-1/+1
* Revert "Split arel_table into method to get a relation and another to memoize...Jeremy Kemper2009-11-132-3/+3
* Split arel_table into method to get a relation and another to memoize the def...Jeremy Kemper2009-11-132-3/+3
* Ruby 1.9.2: avoid #flattenJeremy Kemper2009-11-131-4/+16
* Arel::In -> Arel::Predicates::InJeremy Kemper2009-11-022-2/+2
* Merge commit 'rails/master'Emilio Tagua2009-10-131-1/+1
|\
| * Callbacks, DeprecatedCallbacks = NewCallbacks, CallbacksJoshua Peek2009-10-121-1/+1
* | Merge commit 'rails/master'Emilio Tagua2009-10-021-0/+9
|\|
| * Make has_one with :conditions hash scope build or creation of the associated ...Luciano G Panaro2009-09-281-0/+9
* | Merge commit 'rails/master'Emilio Tagua2009-09-141-2/+2
|\|
| * Fix habtm associations when using multiple databasessdsykes2009-09-121-2/+2
* | Merge commit 'rails/master'Emilio Tagua2009-09-081-0/+16
|\|
| * Revert "Assert primary key does not exist in habtm when the association is de...Jeremy Kemper2009-09-021-0/+16
* | Merge commit 'rails/master'Emilio Tagua2009-09-011-16/+0
|\|
| * Assert primary key does not exist in habtm when the association is defined, i...José Valim2009-09-011-16/+0
* | Remove whitespace.Emilio Tagua2009-08-191-2/+2
* | Remove unused quoted_record_ids, now ARel does this using ARel::In.Emilio Tagua2009-08-181-9/+0
* | has_many nullify associations keys using ARel.Emilio Tagua2009-08-181-9/+9
* | habtm insertion with ARel integration.Emilio Tagua2009-08-181-8/+5
* | habtm delete method integrated with ARel.Emilio Tagua2009-08-181-4/+5
* | Merge commit 'rails/master'Emilio Tagua2009-08-101-19/+16
|\|
| * Remove unnecessary scoping for creating hm:t join recordPratik Naik2009-08-101-3/+4
| * Remove unnecessary scoping and validation checks from hm:t#createPratik Naik2009-08-101-1/+1
| * Unify hm:t#create and create! implementationPratik Naik2009-08-101-17/+13
* | Merge commit 'rails/master'Emilio Tagua2009-08-106-6/+34
|\|
| * raises an exception on habtm join table inserts if join table contains a prim...Jaime Bellmyer2009-08-091-2/+14
| * raises exception (ActiveRecord::ConfigurationError with message) on habtm ass...Jaime Bellmyer2009-08-091-0/+4