aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/persistence_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Move dup destroyed test to specific file that tests dup logicCarlos Antonio da Silva2014-05-021-9/+2
* `@destroyed` should always be set to `false` when an object is duped.Kuldeep Aggarwal2014-04-191-0/+16
* Change usec to 0 on tests that compare secondsArthur Neves2014-03-121-3/+3
* use the new clear_validators! api everywhere to reset validators in testsKuldeep Aggarwal2014-01-281-2/+2
* Copy changed_attributes across to newly become'd recordsJonathan del Strother2013-12-271-0/+14
* Raising an error when nil or non-hash is passed to update_attributes.wangjohn2013-06-251-4/+11
* Extract AR::Persistence#becomes's test code out from base_test.rbTakehiro Adachi2013-05-221-0/+13
* Fix class and method name typosVipul A M2013-05-121-1/+1
* Add missing require to inheritance testCarlos Antonio da Silva2013-04-031-1/+1
* Use snake case variable names, stick with the conventionCarlos Antonio da Silva2013-03-281-13/+13
* Fix updates not working within after_create hooksAaron Pfeifer2013-03-271-0/+16
* When we pass id to update_attributes it will try to set new id for that recordDmitry Vorotilin2013-03-221-0/+9
* Remove regression test added in 0268b5d8cdc3c5a1337462135f0a326a2654ba1aRafael Mendonça França2013-03-071-8/+0
* Skip failing test and add a FIXME noteRafael Mendonça França2013-02-201-0/+2
* test for regression from a712e08ebe21f6d8653a0e6602df2e0f5d40d9caAaron Patterson2013-02-111-0/+6
* Change duplicated test nameRafael Mendonça França2013-01-031-2/+2
* Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-5/+42
* remove meaningless AS::FrozenObjectErrorAkira Matsuda2013-01-021-3/+2
* Unscope update_column(s) query to ignore default scopeCarlos Antonio da Silva2012-12-061-0/+16
* Remove not used variable warnignsCarlos Antonio da Silva2012-12-011-1/+1
* AR::Base.becomes should not change the STI typeThomas Hollstegge2012-11-171-1/+12
* Enable update_column(s) for the primary key attribute.Henrik N2012-10-281-0/+13
* Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-161-40/+0
* Revert "Remove update_attribute."Rafael Mendonça França2012-08-251-0/+40
* Remove the deprecation of update_column.Rafael Mendonça França2012-07-301-38/+17
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-3/+3
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-1/+1
* Deprecate update_column in favor of update_columns.Rafael Mendonça França2012-07-241-17/+38
* Use update_columns to implemente the update_columnRafael Mendonça França2012-07-241-2/+36
* New #update_columns method.Sebastian Martinez2012-07-241-0/+57
* Remove update_attribute.Steve Klabnik2012-06-141-62/+1
* + ActiveRecord::Base#destroy!Marc-Andre Lafortune2012-06-061-0/+7
* Remove unused assignments from activerecord testsMark Rushakoff2012-04-291-1/+0
* remove deprecated callsJon Leighton2012-04-271-1/+1
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-1/+1
* remove deprecate #all usageJon Leighton2012-04-261-1/+1
* remove deprecate #update_all usageJon Leighton2012-04-261-7/+1
* Fix delete_all when chained with joins.Rafael Mendonça França2012-04-101-1/+19
* Raise error when using write_attribute with a non-existent attribute.Jon Leighton2011-09-131-6/+11
* Bring back the ability to provide :order for update_all.thedarkone2011-07-251-0/+20
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Ensure assign_attributes and update_attributes do not fail on nil, closes #478.José Valim2011-05-101-0/+4
* some test renaming to avoid collisions, and some annoying issues between dbsJosh Kalderimis2011-04-271-7/+7
* final corrections to the mass-assignment security testsJosh Kalderimis2011-04-271-4/+4
* fix mass-assignment security tests, this was due to a string column limit whi...Josh Kalderimis2011-04-271-6/+6
* AR update_attributes api is updated to reflect the addition of assign_attributesJosh Kalderimis2011-04-261-0/+40
* Added assign_attributes to Active Record which accepts a mass-assignment secu...Josh Kalderimis2011-04-241-1/+1
* oracle stores this with microseconds, so convert to seconds before comparingAaron Patterson2011-03-291-1/+1
* Added new #update_column method.Sebastian Martinez2011-03-271-0/+86