aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
...
| * DRY up the code which instantiates the association proxyJon Leighton2011-01-112-0/+11
| * has_one should always remove the old record (properly), even if not saving th...Jon Leighton2011-01-111-0/+4
| * Fix polymorphic belongs_to associationproxy raising errors when loading target.Ernie Miller2011-01-111-0/+2
| * Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-1/+0
| * send() will raise an ArgumentError, so we should leverage rubyAaron Patterson2011-01-071-1/+1
| * Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-033-1/+10
| * Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-0/+1
| * Some basic tests for the :foreign_type option on belongs_to, which was previo...Jon Leighton2011-01-031-1/+2
| * Verify that when has_many associated objects are destroyed via :dependent => ...Jon Leighton2010-12-311-1/+16
| * Make sure Model#touch doesn't try to update non existing columnsPratik Naik2010-12-301-1/+3
| * Make serialized fixtures work againPratik Naik2010-12-291-0/+3
| * Raise an error for associations which try to go :through a polymorphic associ...Jon Leighton2010-12-231-1/+2
| * Test to verify that #2189 (count with has_many :through and a named_scope) is...Jon Leighton2010-12-231-0/+2
| * Fix creation of has_many through records with custom primary_key option on be...Szymon Nowak2010-12-232-0/+2
| * Verify that has_one :through preload respects the :conditions [#2976 state:re...Will Bryant2010-12-231-0/+1
| * Don't allow a has_one association to go :through a collection association [#2...Jon Leighton2010-12-232-4/+9
| * removing SQL interpolation, please use scoping and attribute conditionals as ...Aaron Patterson2010-12-221-3/+0
| * has_many associations with :dependent => :delete_all should update the counte...Jon Leighton2010-12-201-0/+2
| * Fix problem where wrong keys are used in JoinAssociation when an association ...Jon Leighton2010-12-201-0/+1
| * Fix various issues with the :primary_key option in :through associations [#24...Jon Leighton2010-12-152-0/+13
| * Verify that creating a has_many through record where there is a default_scope...Jon Leighton2010-12-162-1/+14
| * Respect the default_scope on a join model when reading a through associationJon Leighton2010-12-163-1/+12
| * Fix hm:t to self table aliasing in construct_scopeErnie Miller2010-12-161-0/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-12-121-1/+5
|\|
| * fix warnings, stop using global variablesAaron Patterson2010-11-301-1/+5
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-271-0/+8
|\|
| * If a nested_attribute is being marked for destruction and at the same time an...Neeraj Singh2010-11-241-0/+8
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-174-4/+4
|\|
| * use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-094-4/+4
* | Fix naughty trailing whitespaceJon Leighton2010-10-3110-16/+16
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-311-0/+1
|\|
| * Convert :primary_key in association to a string before comparing to column na...Denis Odorcic2010-10-301-0/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-283-0/+50
|\|
| * has_one maintains the association with separate after_create/after_updateXavier Noria2010-10-221-0/+37
| * scopes can take an object that responds to `call`Aaron Patterson2010-10-191-0/+7
| * Allow default_scope to accept a Proc.Tim Morgan2010-10-191-0/+6
* | Add explicit tests for the nested through association changes in reflection.rbJon Leighton2010-10-193-0/+3
* | Support the :primary_key option on a through reflection in a nested through a...Jon Leighton2010-10-192-1/+10
* | Support for :primary_key option on the source reflection of a through associa...Jon Leighton2010-10-192-1/+4
* | Respect the :primary_key option on the through_reflection of (non-nested) thr...Jon Leighton2010-10-192-1/+12
* | Properly support conditions on any of the reflections involved in a nested th...Jon Leighton2010-10-193-2/+13
* | Add test_has_one_through_has_one_through_with_belongs_to_source_reflectionJon Leighton2010-10-142-1/+4
* | Add test_has_many_through_belongs_to_with_has_many_through_source_reflection ...Jon Leighton2010-10-141-1/+3
* | Add test_has_many_through_has_many_through_with_belongs_to_source_reflection ...Jon Leighton2010-10-141-0/+1
* | Added test_has_many_through_has_many_with_has_many_through_habtm_source_refle...Jon Leighton2010-10-141-0/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-141-1/+0
|\|
| * Add some tests for functionality in JoinAssociation which already exists but ...Jon Leighton2010-10-131-0/+3
| * reorder removed in favor of except(:order).orderSantiago Pastorino2010-10-111-1/+0
* | Add test_has_many_through_has_and_belongs_to_many_with_has_many_source_reflec...Jon Leighton2010-10-131-0/+2
* | Add a commented, failing test for using a habtm in a has many through associa...Jon Leighton2010-10-121-3/+5