aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/persistence.rb
Commit message (Expand)AuthorAgeFilesLines
* Use `_relation_for_itself` wherever possibleSean Griffin2017-07-261-3/+2
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* `Persistence#delete` should not be affected by scopingRyuta Kamizono2017-07-181-1/+5
* Merge pull request #29495 from eugeneius/_write_attributeMatthew Draper2017-07-091-1/+1
|\
| * Rename raw_write_attribute to write_attribute_without_type_castEugene Kenny2017-07-071-1/+1
* | 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
* | Fix ActiveRecord::Persistence#touch with lockingbogdanvlviv2017-06-211-1/+1
|/
* Prevent double firing the before save callback of new object when the parent ...Ryuta Kamizono2017-04-211-6/+20
* Docs: Specify return value of `save!`Jared Beck2017-01-301-0/+2
* Add the touch option to ActiveRecord#increment! and decrement!akihiro172017-01-141-6/+10
* Merge pull request #25427 from eugeneius/update_increment_documentationKasper Timm Hansen2017-01-081-8/+8
|\
| * Update increment! documentation [ci skip]Eugene Kenny2016-08-151-8/+8
* | [ci skip] Find and record the article! 🤓Kasper Timm Hansen2017-01-031-2/+2
* | Emulate db trigger behaviour for after_commit :destroy, :updateStefan Budeanu2016-12-091-3/+11
* | Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-3/+7
* | Fix code formatting in `#save` RDoc [ci skip]Adam Crownoble2016-09-251-2/+2
* | Return true if attribute is not changed for update_attributePrathamesh Sonpatki2016-09-231-1/+2
* | Clear attribute changes after handling lockingJakob Skjerning2016-09-141-1/+1
* | Ensure that inverse associations are set before running callbacksSean Griffin2016-08-311-2/+2
* | Refactor remove duplication.Santosh Wadghule2016-08-311-2/+6
|/
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-2/+2
* Use `squish` rather than `strip_heredoc`Ryuta Kamizono2016-07-041-2/+2
* Improve error message when record touch fails.Ben Standefer2016-07-021-1/+6
* Fix a small template misrender in ActiveRecord::PersistenceGenadi Samokovarov2016-03-021-1/+1
* - Updated persistence documentation to make it clear that save and save! won'...Vipul A M2016-01-311-3/+3
* Merge pull request #21791 from sonalkr132/persistence-docArthur Nogueira Neves2016-01-271-8/+9
|\
| * Improvement in ActiveRecord::Persistence doc [ci skip]Aditya Prakash2015-10-171-8/+9
* | `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