aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/persistence_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* `Persistence#delete` should not be affected by scopingRyuta Kamizono2017-07-181-0/+7
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Replace \Z to \zRyuta Kamizono2017-04-241-1/+1
* Add the touch option to ActiveRecord#increment! and decrement!akihiro172017-01-141-0/+16
* fixing update_all and delete_all when chained with left_joins. fixes #27192Diego Plentz2016-11-271-0/+22
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Return true if attribute is not changed for update_attributePrathamesh Sonpatki2016-09-231-3/+3
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-10/+8
* modernizes hash syntax in activerecordXavier Noria2016-08-061-9/+9
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-95/+95
* Typos in AR testsAkira Matsuda2016-02-031-1/+1
* `ActiveRecord::Base#becomes` should copy the errorsVokhmin Alexey V2015-12-141-1/+20
* Fix test failuresSean Griffin2015-11-071-0/+1
* Ensure `#reset_column_information` clears child classes as wellSean Griffin2015-11-071-0/+12
* Deprecate exception#original_exception in favor of exception#causeYuki Nishijima2015-11-031-1/+2
* Make #increment! and #decrement! methods concurency safeBogdan Gusiev2015-10-051-0/+9
* Deprecate passing conditions to AR::Relation destroy_all and delete_all methodsWojciech Wnętrzak2015-09-061-1/+1
* 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