aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* 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
* fix warnings, stop using global variablesAaron Patterson2010-11-301-1/+5
* If a nested_attribute is being marked for destruction and at the same time an...Neeraj Singh2010-11-241-0/+8
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-094-4/+4
* Convert :primary_key in association to a string before comparing to column na...Denis Odorcic2010-10-301-0/+1
* 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 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
* expanding the test to include both type of order declarationNeeraj Singh2010-09-182-2/+10
* fixed Subject model after_initialize callback for test_oracle_synonym testRaimonds Simanovskis2010-09-091-3/+7
* failing test for reorder overriding default_scopeNick Ragaz2010-09-051-1/+1
* order should always be concatenated.Neeraj Singh2010-09-051-0/+5
* Change relation merging to always append select, group and order valuesPratik Naik2010-08-311-1/+1
* While creating a new record using has_many create method default scope of chi...Neeraj Singh2010-08-192-0/+8
* Add missing modelSantiago Pastorino2010-08-141-0/+2
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-145-6/+6
* Ensure we can nest include calls [#5285 state:resolved]Neeraj Singh2010-08-123-0/+11
* Eager loading an association should not change the count of childrenNeeraj Singh2010-08-023-0/+12
* test and fix collection_singular_ids= with string primary keys [#5125 state:r...Robert Pankowecki2010-08-021-0/+3
* Object#returning removedSantiago Pastorino2010-07-251-1/+1
* Ensure default_scope can be overwriten by association conditions.José Valim2010-07-211-0/+1
* eagerly loaded association records should respect default_scope [#2931 state:...Subba Rao Pasupuleti2010-07-212-0/+6
* update_attribute should not update readonly attributesNeeraj Singh2010-07-211-1/+4
* Ensure that primary_keys of HABTM records is not double quotedNeeraj Singh2010-07-202-0/+14
* update_attributes and update_attributes! are now wrapped in a transactionNeeraj Singh2010-07-131-0/+2
* Added reorder delegation for ActiveRecord::Base(to be able to overwrite the d...Vitalii Khustochka2010-07-131-0/+1
* string IDs are now quoted correctly [#5064 state:resolved]Will St. Clair + Neeraj Singh2010-07-133-0/+13
* reset_counter should work with non-traditional belongs_to and polymorphic bel...Neeraj Singh2010-07-083-0/+10
* Eager loading :through associations will join the :source model if there are ...Grant Ammons2010-07-081-0/+1
* mass_assignment_security moved from AR to AMo, and minor test cleanupJosh Kalderimis2010-07-081-9/+1
* minor changes to mass assignment security patch to bring it in line with rail...Josh Kalderimis2010-07-081-0/+32
* Fixed gruoped_by_title spelling [#5063 state:committed]Ben Somers2010-07-081-1/+1
* Push a failing test for issues [#4994] and [#5003].José Valim2010-06-291-0/+3
* with_exclusive_scope does not work properly if ARel is passed. It does work n...Neeraj Singh2010-06-291-1/+7
* Don't overwrite unsaved updates when loading an association but preserve the ...James Le Cuirot2010-06-201-2/+2
* Revert "Don't overwrite unsaved updates when loading an association but prese...José Valim2010-06-111-2/+2
* Don't overwrite unsaved updates when loading an association but preserve the ...James Le Cuirot2010-06-091-2/+2