aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/persistence.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* `reload` should fully reload attributesSean Griffin2014-06-221-1/+1
* Introduce an object to aid in creation and management of `@attributes`Sean Griffin2014-06-191-5/+1
* Remove unused column types overrideSean Griffin2014-06-131-8/+2
* Introduce an Attribute object to handle the type casting danceSean Griffin2014-06-131-4/+8
* No need to decorate columns twiceSean Griffin2014-06-101-1/+0
* Remove duplicated `@raw_attributes.keys`Sean Griffin2014-06-071-2/+2
* Bring type casting behavior of hstore/json in line with serializedSean Griffin2014-06-041-1/+1
* New records should remain new after yaml serializationSean Griffin2014-06-011-1/+5
* Rename attribute related instance variables to better express intentSean Griffin2014-05-301-5/+5
* docs, `instantiate` expects `String` keys. [Rafal Piekarski & Yves Senn]Yves Senn2014-05-201-4/+4
* Merge pull request #11650 from prathamesh-sonpatki/renameRafael Mendonça França2014-04-041-4/+4
|\
| * [Active Record] Renamed private methods create_record and update_recordPrathamesh Sonpatki2014-02-201-4/+4
* | Merge pull request #14390 from huoxito/true-touchRafael Mendonça França2014-03-251-0/+2
|\ \
| * | Still touch associations when theres no timestampWashington Luiz2014-03-141-0/+2
* | | Improve touch docs with extra attributes passed in [ci skip]Carlos Antonio da Silva2014-03-201-5/+7
* | | ActiveRecord#touch should accept multiple attributes #14423Thiago Pinto2014-03-191-2/+3
* | | Update callbacks executed on AR::Base#touch [skip ci]Washington Luiz2014-03-141-2/+2
|/ /
* | Enhance docs for update_attribute [ci-skip]Mohamed Wael Khobalatte2014-03-121-0/+2
* | Replace "data store" with database [ci skip]Robin Dupret2014-02-271-1/+1
|/
* Correctly send the string given to lock! and reload(:lock) to the lock scope ...Mauricio Linhares2014-01-291-1/+1
* fix bug in becomes! when changing from base to subclass. Closes #13272.Yves Senn2014-01-131-1/+5
* Change all "can not"s to the correct "cannot".T.J. Schuck2014-01-031-2/+2
* setting `changed_attributes` instance variable if it is already initialized.Kuldeep Aggarwal2013-12-281-1/+1
* Merge pull request #13474 from jdelStrother/becomesYves Senn2013-12-271-0/+1
|\
| * Copy changed_attributes across to newly become'd recordsJonathan del Strother2013-12-271-0/+1
* | Typo rectified commom => common[ci skip]Aayush khandelwal2013-12-251-1/+1
|/
* [ci skip]removed obsolete information about `options` parameter in create methodKuldeep Aggarwal2013-11-271-3/+0
* Add documentation for after_touch [ci skip]claudiob2013-10-081-1/+2
* improving `reload` doc wording. #12418 [ci skip]Yves Senn2013-10-021-1/+2
* Update AR reload doc for the case of manually set primary key attribute [ci s...Anatoli Makarevich2013-10-021-2/+11
* Merge pull request #10816 from bogdan/less-dirty-dirtyRafael Mendonça França2013-09-231-1/+1
* Fix typo on instance variable get callCarlos Antonio da Silva2013-09-121-1/+1
* Perf: avoid dupes add fallback logic for codersSam2013-09-111-2/+3
* rewrites AR's reload documentationXavier Noria2013-05-311-4/+38
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-05-011-0/+8
|\
| * readonly info for save and save!Neeraj Singh2013-04-171-0/+6