aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/persistence_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* Fix failing tests caused by #21350Sean Griffin2015-08-241-0/+1
* Cause ActiveRecord::Base::reload to also ignore the QueryCache.Shane Hender2015-04-281-0/+27
* use Model.reset_column_information to clear table cache connection wide.Kuldeep Aggarwal2015-03-311-1/+2
* Closes rails/rails#18864: Renaming transactional fixtures to transactional testsBrandon Weiss2015-03-161-1/+1
* add regression test. Closes #18400.Yves Senn2015-03-051-0/+6
* Run SQL only if attribute changed for update_attribute methodPrathamesh Sonpatki2015-01-181-0/+10
* Merge pull request #11898 from prathamesh-sonpatki/patch-updateRafael Mendonça França2015-01-021-2/+4
|\
| * Allow ActiveRecord::Relation#update to run on result of a relation with callb...Prathamesh Sonpatki2014-12-201-2/+4
* | Provide :touch option to save() to accommodate saving without updating timest...Dan Olson2014-12-271-0/+31
|/
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-2/+2
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* Fix mysql/mysql2 failing with FK constraint errorsGodfrey Chan2014-07-051-1/+1
* After find-via-reload, the record is not newMatthew Draper2014-07-051-0/+12
* `reload` should fully reload attributesSean Griffin2014-06-221-0/+7
* Merge pull request #15593 from sgrif/sg-attributeRafael Mendonça França2014-06-131-9/+4
|\
| * Introduce an Attribute object to handle the type casting danceSean Griffin2014-06-131-9/+4
* | Update test data which doesn't reflect expected usageSean Griffin2014-06-121-6/+6
|/
* Merge pull request #15503 from sgrif/sg-json-hstore-storageYves Senn2014-06-061-2/+2
|\
| * Bring type casting behavior of hstore/json in line with serializedSean Griffin2014-06-041-2/+2
* | Merge pull request #14971 from versioncontrol/#14785Yves Senn2014-06-061-0/+9
|\ \ | |/ |/|
| * Fix Baseclass becomes! subclass.Edo Balvers2014-05-131-0/+9
* | docs, `instantiate` expects `String` keys. [Rafal Piekarski & Yves Senn]Yves Senn2014-05-201-0/+11
|/
* test, persist inherited class with different table name. Refs #14971.Yves Senn2014-05-071-0/+14
* 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