| Commit message (Expand) | Author | Age | Files | Lines |
* | applies new doc guidelines to Active Record. | Yves Senn | 2015-10-14 | 1 | -19/+19 |
* | Merge pull request #11410 from bogdan/increment-concurency | Jeremy Daer | 2015-10-10 | 1 | -5/+7 |
|\ |
|
| * | Make #increment! and #decrement! methods concurency safe | Bogdan Gusiev | 2015-10-05 | 1 | -5/+7 |
* | | Build the `AttributeMutationTracker` lazily | Sean Griffin | 2015-10-02 | 1 | -1/+1 |
|/ |
|
* | Encapsulate a lot of the logic from `Dirty` in an object | Sean Griffin | 2015-09-24 | 1 | -1/+1 |
* | Clean up the implementation of AR::Dirty | Sean Griffin | 2015-09-24 | 1 | -0/+1 |
* | `destroy` shouldn't raise when child associations fail to save | Sean Griffin | 2015-07-24 | 1 | -1/+8 |
* | refactor ActiveRecord's #become by simplifying code | Diego Carrion | 2015-06-10 | 1 | -2/+1 |
* | Merge pull request #19886 from henders/henders/reload_wipe_query_cache | Rafael Mendonça França | 2015-05-27 | 1 | -1/+3 |
|\ |
|
| * | Cause ActiveRecord::Base::reload to also ignore the QueryCache. | Shane Hender | 2015-04-28 | 1 | -1/+3 |
* | | AR::RecordNotSaved & RecordNotDestroyed should include an error message | Yuki Nishijima | 2015-05-01 | 1 | -2/+2 |
* | | remove trailing whitespace. [ci skip] | Yves Senn | 2015-04-27 | 1 | -1/+1 |
* | | Merge pull request #19918 from vngrs/becomes_missing_note_about_sti | Yves Senn | 2015-04-27 | 1 | -1/+3 |
|\ \
| |/
|/| |
|
| * | Add note about sti column value to becomes method [ci skip] | Mehmet Emin İNAÇ | 2015-04-27 | 1 | -2/+4 |
|/ |
|
* | Use _read_attribute(primary_key) instead of id | Rafael Mendonça França | 2015-04-19 | 1 | -1/+1 |
* | Raise StaleObjectError if touched object is stale and locking is enabled | Mehmet Emin İNAÇ | 2015-04-19 | 1 | -3/+15 |
* | Batch touch parent records | Arthur Neves | 2015-04-08 | 1 | -1/+2 |
* | call `sync_with_transaction_state` inside `persisted?` then check ivars | Aaron Patterson | 2015-03-02 | 1 | -1/+2 |
* | Merge pull request #16989 from Empact/reload-cache-clear | Rafael Mendonça França | 2015-02-20 | 1 | -3/+0 |
|\ |
|
| * | Isolate access to @associations_cache and @aggregations cache to the Associat... | Ben Woosley | 2014-09-28 | 1 | -3/+0 |
* | | Merge pull request #17139 from mfazekas/fix_becomes_changed_attributes | Rafael Mendonça França | 2015-02-20 | 1 | -1/+2 |
|\ \ |
|
| * | | Always reset changed attributes in becomes | Miklos Fazekas | 2015-02-04 | 1 | -1/+2 |
* | | | Add `time` option to `#touch` | Hyonjee Joo | 2015-02-18 | 1 | -6/+8 |
|/ / |
|
* | | add destroyed records to the currend transaction | Aaron Patterson | 2015-02-01 | 1 | -0/+1 |
* | | Use 'public_send' over the 'send' method for object's properties. | Santosh Wadghule | 2015-01-23 | 1 | -2/+2 |
* | | Run SQL only if attribute changed for update_attribute method | Prathamesh Sonpatki | 2015-01-18 | 1 | -1/+1 |
* | | Go through normal where logic in destroy | Sean Griffin | 2015-01-14 | 1 | -9/+1 |
* | | Deprecate `false` as the way to halt AR callbacks | claudiob | 2015-01-02 | 1 | -14/+14 |
* | | Add doc for `:touch` option of AR::Base#save | claudiob | 2014-12-30 | 1 | -0/+8 |
* | | Provide :touch option to save() to accommodate saving without updating timest... | Dan Olson | 2014-12-27 | 1 | -6/+6 |
* | | Correct grammar to fix #18182 [ci skip] | Zachary Scott | 2014-12-24 | 1 | -1/+1 |
* | | document that `.delete` does work on `#readonly?` records. Closes #11860 | Yves Senn | 2014-12-03 | 1 | -0/+2 |
* | | Fix a bug where AR::RecordNotSaved loses error messages | Yuki Nishijima | 2014-11-27 | 1 | -1/+1 |
* | | Add #record attribute to RecordNotFound and RecordDestroyed exceptions. | Recursive Madman | 2014-11-26 | 1 | -2/+2 |
* | | Remove the unused second argument to `substitute_at` | Sean Griffin | 2014-11-17 | 1 | -1/+1 |
* | | Revert "Improve performance of AR object instantiation" | Sean Griffin | 2014-11-14 | 1 | -25/+3 |
* | | Print out a meaningful error when ActiveRecord::ReadOnlyRecord is raised | Franky W | 2014-11-06 | 1 | -2/+2 |
* | | Improve performance of AR object instantiation | Sean Griffin | 2014-11-05 | 1 | -3/+25 |
|/ |
|
* | Implement `_was` and `changes` for in-place mutations of AR attributes | Sean Griffin | 2014-08-16 | 1 | -1/+1 |
* | update error message to reflect that the record could have been destroyed | lsylvester | 2014-08-11 | 1 | -1/+2 |
* | Rephrase how we explain RecordInvalid exception in the context of | Zachary Scott | 2014-08-07 | 1 | -3/+5 |
* | [ci skip] Updated create! documentation description and added +attributes+ fo... | Tom Kadwill | 2014-08-07 | 1 | -2/+5 |
* | Moved #create! method from Validations to Persistence module | Bogdan Gusiev | 2014-08-05 | 1 | -0/+12 |
* | After find-via-reload, the record is not new | Matthew Draper | 2014-07-05 | 1 | -0/+1 |
* | Remove unneeded `@column_types` instance variable | Sean Griffin | 2014-06-22 | 1 | -2/+0 |
* | `reload` should fully reload attributes | Sean Griffin | 2014-06-22 | 1 | -1/+1 |
* | Introduce an object to aid in creation and management of `@attributes` | Sean Griffin | 2014-06-19 | 1 | -5/+1 |
* | Remove unused column types override | Sean Griffin | 2014-06-13 | 1 | -8/+2 |
* | Introduce an Attribute object to handle the type casting dance | Sean Griffin | 2014-06-13 | 1 | -4/+8 |
* | No need to decorate columns twice | Sean Griffin | 2014-06-10 | 1 | -1/+0 |