aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/persistence.rb
Commit message (Expand)AuthorAgeFilesLines
* `ActiveRecord::Base#becomes` should copy the errorsVokhmin Alexey V2015-12-141-1/+1
* Make sure we touch all the parents when touch_later.Arthur Neves2015-12-061-0/+4
* Clean up and correct documentation for update_columns and update_all [ci skip]James Wen2015-12-051-0/+1
* Merge pull request #22362 from radar/toggle-documentationClaudio B2015-11-201-0/+8
|\
| * Add example for AR::Persistence#toggleRyan Bigg2015-11-211-0/+8
* | applies new doc guidelines to Active Record.Yves Senn2015-10-141-19/+19
* | Merge pull request #11410 from bogdan/increment-concurencyJeremy Daer2015-10-101-5/+7
|\ \
| * | Make #increment! and #decrement! methods concurency safeBogdan Gusiev2015-10-051-5/+7
* | | Build the `AttributeMutationTracker` lazilySean Griffin2015-10-021-1/+1
|/ /
* | Encapsulate a lot of the logic from `Dirty` in an objectSean Griffin2015-09-241-1/+1
* | Clean up the implementation of AR::DirtySean Griffin2015-09-241-0/+1
* | `destroy` shouldn't raise when child associations fail to saveSean Griffin2015-07-241-1/+8
|/
* refactor ActiveRecord's #become by simplifying codeDiego Carrion2015-06-101-2/+1
* Merge pull request #19886 from henders/henders/reload_wipe_query_cacheRafael Mendonça França2015-05-271-1/+3
|\
| * Cause ActiveRecord::Base::reload to also ignore the QueryCache.Shane Hender2015-04-281-1/+3
* | AR::RecordNotSaved & RecordNotDestroyed should include an error messageYuki Nishijima2015-05-011-2/+2
* | remove trailing whitespace. [ci skip]Yves Senn2015-04-271-1/+1
* | Merge pull request #19918 from vngrs/becomes_missing_note_about_stiYves Senn2015-04-271-1/+3
|\ \ | |/ |/|
| * Add note about sti column value to becomes method [ci skip]Mehmet Emin İNAÇ2015-04-271-2/+4
|/
* Use _read_attribute(primary_key) instead of idRafael Mendonça França2015-04-191-1/+1
* Raise StaleObjectError if touched object is stale and locking is enabledMehmet Emin İNAÇ2015-04-191-3/+15
* Batch touch parent recordsArthur Neves2015-04-081-1/+2
* call `sync_with_transaction_state` inside `persisted?` then check ivarsAaron Patterson2015-03-021-1/+2
* Merge pull request #16989 from Empact/reload-cache-clearRafael Mendonça França2015-02-201-3/+0
|\
| * Isolate access to @associations_cache and @aggregations cache to the Associat...Ben Woosley2014-09-281-3/+0
* | Merge pull request #17139 from mfazekas/fix_becomes_changed_attributesRafael Mendonça França2015-02-201-1/+2
|\ \
| * | Always reset changed attributes in becomesMiklos Fazekas2015-02-041-1/+2
* | | Add `time` option to `#touch`Hyonjee Joo2015-02-181-6/+8
|/ /
* | add destroyed records to the currend transactionAaron Patterson2015-02-011-0/+1
* | Use 'public_send' over the 'send' method for object's properties.Santosh Wadghule2015-01-231-2/+2
* | Run SQL only if attribute changed for update_attribute methodPrathamesh Sonpatki2015-01-181-1/+1
* | Go through normal where logic in destroySean Griffin2015-01-141-9/+1
* | Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-021-14/+14
* | Add doc for `:touch` option of AR::Base#saveclaudiob2014-12-301-0/+8
* | Provide :touch option to save() to accommodate saving without updating timest...Dan Olson2014-12-271-6/+6
* | Correct grammar to fix #18182 [ci skip]Zachary Scott2014-12-241-1/+1
* | document that `.delete` does work on `#readonly?` records. Closes #11860Yves Senn2014-12-031-0/+2
* | Fix a bug where AR::RecordNotSaved loses error messagesYuki Nishijima2014-11-271-1/+1
* | Add #record attribute to RecordNotFound and RecordDestroyed exceptions.Recursive Madman2014-11-261-2/+2
* | Remove the unused second argument to `substitute_at`Sean Griffin2014-11-171-1/+1
* | Revert "Improve performance of AR object instantiation"Sean Griffin2014-11-141-25/+3
* | Print out a meaningful error when ActiveRecord::ReadOnlyRecord is raisedFranky W2014-11-061-2/+2
* | Improve performance of AR object instantiationSean Griffin2014-11-051-3/+25
|/
* Implement `_was` and `changes` for in-place mutations of AR attributesSean Griffin2014-08-161-1/+1
* update error message to reflect that the record could have been destroyedlsylvester2014-08-111-1/+2
* Rephrase how we explain RecordInvalid exception in the context ofZachary Scott2014-08-071-3/+5
* [ci skip] Updated create! documentation description and added +attributes+ fo...Tom Kadwill2014-08-071-2/+5
* Moved #create! method from Validations to Persistence moduleBogdan Gusiev2014-08-051-0/+12
* After find-via-reload, the record is not newMatthew Draper2014-07-051-0/+1
* Remove unneeded `@column_types` instance variableSean Griffin2014-06-221-2/+0