| Commit message (Expand) | Author | Age | Files | Lines |
* | Shorter code: remove unnecessary condition | claudiob | 2018-07-05 | 1 | -1/+1 |
* | Don't call changes in `changes_applied` unless required | Sean Griffin | 2018-03-06 | 1 | -1/+3 |
* | Revert "PERF: Recover `changes_applied` performance (#31698)" | Sean Griffin | 2018-03-06 | 1 | -39/+67 |
* | PERF: Recover `changes_applied` performance (#31698) | Ryuta Kamizono | 2018-01-22 | 1 | -67/+39 |
* | Fix "warning: instance variable @attributes not initialized" | yuuji.yaginuma | 2017-11-10 | 1 | -2/+2 |
* | Move Attribute and AttributeSet to ActiveModel | Lisa Ugray | 2017-11-09 | 1 | -56/+121 |
* | Use frozen string literal in activemodel/ | Kir Shatrov | 2017-07-16 | 1 | -0/+2 |
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
* | Move around AR::Dirty and fix _attribute method | Aaron Patterson | 2017-04-14 | 1 | -8/+4 |
* | Fix inconsistency with changed attributes when overriding AR attribute reader | bogdanvlviv | 2017-04-12 | 1 | -4/+8 |
* | Update ActiveModel::Dirty Doc [ci skip] | Louis-Michel Couture | 2016-09-16 | 1 | -8/+8 |
* | Update ActiveModel::Dirty Doc [ci skip] | Louis-Michel Couture | 2016-09-15 | 1 | -1/+1 |
* | applies new string literal convention in activemodel/lib | Xavier Noria | 2016-08-06 | 1 | -5/+5 |
* | Fixed bug introduced in #24519. Makes build green again | Bogdan Gusiev | 2016-04-13 | 1 | -1/+1 |
* | Use keyword arguments to cleanup without droping performance | Bogdan Gusiev | 2016-04-13 | 1 | -8/+8 |
* | prevent 'attribute_changed?' from returning nil | Sen-Zhang | 2016-04-11 | 1 | -1/+1 |
* | set default parameter to nil to speed up attribute_changed? | Lihan Li | 2016-04-11 | 1 | -3/+5 |
* | Merge pull request #22333 from harrykiselev/patch-3 | Yves Senn | 2015-11-21 | 1 | -1/+5 |
|\ |
|
| * | Update dirty.rb: documentation fix. | Harry V. Kiselev | 2015-11-19 | 1 | -1/+5 |
|/ |
|
* | Improve the performance of `save` and friends | Sean Griffin | 2015-09-24 | 1 | -2/+2 |
* | minor rdoc syntax fix [ci skip] | Gourav Tiwari | 2015-05-08 | 1 | -2/+2 |
* | Add `ActiveModel::Dirty#[attr_name]_previously_changed?` and | Fernando Tapia Rico | 2015-04-21 | 1 | -2/+21 |
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-02-14 | 1 | -8/+9 |
|\ |
|
| * | AM#Dirty doc fixes | Vipul A M | 2015-02-01 | 1 | -8/+9 |
* | | revises AM:Dirty example [Godfrey Chan & Xavier Noria] | Xavier Noria | 2015-02-06 | 1 | -6/+2 |
* | | use parentheses here, for the beard of the Prophet! [ci skip] | Xavier Noria | 2015-02-06 | 1 | -1/+1 |
* | | applies guidelines to dirty.rb [ci skip] | Xavier Noria | 2015-02-06 | 1 | -11/+11 |
* | | Wrap method arguments with parentheses in docs | Carlos Antonio da Silva | 2015-02-03 | 1 | -1/+1 |
* | | Person class doesn't contain finder methods, hence usage of Person.find_by is... | Vipul A M | 2015-02-03 | 1 | -1/+5 |
* | | Don't calculate in-place changes on attribute assignment | Sean Griffin | 2015-01-18 | 1 | -0/+1 |
|/ |
|
* | Remove unneeded requires | Rafael Mendonça França | 2015-01-04 | 1 | -1/+0 |
* | Remove deprecated `ActiveModel::Dirty#reset_#{attribute}` and `ActiveModel::D... | Rafael Mendonça França | 2015-01-04 | 1 | -20/+0 |
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-01-03 | 1 | -1/+1 |
|\ |
|
| * | Use Active Model, not ActiveModel in plain English | claudiob | 2015-01-02 | 1 | -1/+1 |
* | | Don't calculate all in-place changes to determine if attribute_changed? | Sean Griffin | 2014-12-22 | 1 | -1/+5 |
|/ |
|
* | add brackets around attribute_name | _tiii | 2014-12-08 | 1 | -1/+1 |
* | [Enh] Changed the visibility of the ActiveModel::Dirty#clear_attribute_change... | Daniele Di Bernardo | 2014-11-06 | 1 | -1/+1 |
* | edit pass over all warnings | Xavier Noria | 2014-10-28 | 1 | -2/+10 |
* | Don't expose these new APIs yet (added in 877ea78 / #16189) | Godfrey Chan | 2014-08-16 | 1 | -14/+15 |
* | Implement `_was` and `changes` for in-place mutations of AR attributes | Sean Griffin | 2014-08-16 | 1 | -3/+16 |
* | Make restore_attributes public | Rafael Mendonça França | 2014-07-17 | 1 | -5/+5 |
* | Deprecate `reset_#{attribute}` in favor of `restore_#{attribute}`. | Rafael Mendonça França | 2014-07-15 | 1 | -4/+12 |
* | Deprecate ActiveModel::Dirty#reset_changes in favor of #clear_changes_informa... | Rafael Mendonça França | 2014-07-15 | 1 | -4/+12 |
* | Rename rollback_changes to undo_changes | Rafael Mendonça França | 2014-06-30 | 1 | -3/+3 |
* | Add CHANGELOG entry for #14861 and document private methods on the API | Rafael Mendonça França | 2014-06-30 | 1 | -5/+5 |
* | Merge pull request #14861 from igor04/dirty-rollback | Rafael Mendonça França | 2014-06-30 | 1 | -0/+17 |
|\ |
|
| * | Added rollback method to ActiveModel::Dirty | igor04 | 2014-06-23 | 1 | -0/+17 |
* | | We are talking about the libraries, not the constants | Sean Griffin | 2014-06-27 | 1 | -3/+3 |
* | | Note that `_will_change!` is no longer needed for AR instances | Sean Griffin | 2014-06-27 | 1 | -3/+5 |
|/ |
|