aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* fisting uninitialized ivar warnings. [#4198 state:resolved]Aaron Patterson2010-03-161-0/+1
* clean up more warnings, remove unnecessary methods, fix eval line numbers. [#...Aaron Patterson2010-03-161-0/+4
* keep AssociationProxy#to_a to avoid warning in Array(post.author), and delega...Xavier Noria2010-03-122-1/+2
* Get rid of construct_count_options_from_argsPratik Naik2010-01-191-3/+4
* Inherit named scope class Scope from RelationPratik Naik2010-01-181-2/+0
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-173-3/+3
* Make type_condition return Arel predicate and not a string conditionPratik Naik2010-01-161-1/+1
* Make scopes use relations under the hoodPratik Naik2010-01-163-7/+7
* 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