| Commit message (Expand) | Author | Age | Files | Lines |
* | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 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 |
* | Use mattr_accessor default: option throughout the project | Genadi Samokovarov | 2017-06-03 | 1 | -2/+1 |
* | Merge pull request #29074 from kamipo/remove_returning_true_in_internal_callb... | Kasper Timm Hansen | 2017-05-28 | 1 | -8/+1 |
|\ |
|
| * | Remove returning true in internal callbacks | Ryuta Kamizono | 2017-05-14 | 1 | -8/+1 |
* | | Remove unneeded `association.respond_to?(:reset_scope)` | Ryuta Kamizono | 2017-05-17 | 1 | -1/+1 |
|/ |
|
* | Don't attempt to create a new record that was already created. | Isaac Betesh | 2017-04-20 | 1 | -0/+5 |
* | `self.` is not needed when calling its own instance method | Akira Matsuda | 2017-01-05 | 1 | -2/+2 |
* | Reload association scope inside autosaved associations | Edgars Beigarts | 2016-12-02 | 1 | -3/+3 |
* | Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call... | Sean Griffin | 2016-11-01 | 1 | -2/+2 |
* | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -3/+3 |
* | Always store errors details information with symbols | Rafael Mendonça França | 2016-09-19 | 1 | -10/+12 |
* | Don't unnecessarily load a belongs_to when saving. | James Coleman | 2016-08-26 | 1 | -1/+3 |
* | modernizes hash syntax in activerecord | Xavier Noria | 2016-08-06 | 1 | -3/+3 |
* | A small documentation fix about autosave associations [ci skip] | Mehmet Emin İNAÇ | 2016-03-05 | 1 | -1/+1 |
* | Fixed setting errors details on autosaved associations | Wojciech Wnętrzak | 2015-10-28 | 1 | -3/+18 |
* | Merge pull request #19686 from tsun1215/index_errors | Sean Griffin | 2015-10-26 | 1 | -3/+9 |
|\ |
|
| * | Errors can be indexed with nested attributes | Michael Probber | 2015-04-17 | 1 | -3/+9 |
* | | applies new doc guidelines to Active Record. | Yves Senn | 2015-10-14 | 1 | -5/+4 |
* | | add missing `:nodoc:` for `AutosaveAssociation::ClassMethods` [ci skip] | Yves Senn | 2015-10-14 | 1 | -1/+1 |
* | | Fix Punctuation in `AutosaveAssociation` RDoc | Robert Eshleman | 2015-08-20 | 1 | -2/+2 |
* | | Correctly ignore `mark_for_destruction` without `autosave` | Sean Griffin | 2015-07-20 | 1 | -1/+1 |
* | | Ensure cyclic associations w/ autosave don't cause duplicate errors | Sean Griffin | 2015-07-18 | 1 | -0/+7 |
|/ |
|
* | Always perform validations on nested attribute associations | Sean Griffin | 2015-01-30 | 1 | -4/+12 |
* | Fix potenital stack level too deep with autosave or validation | Miklos Fazkeas | 2015-01-04 | 1 | -4/+11 |
* | Deprecate `false` as the way to halt AR callbacks | claudiob | 2015-01-02 | 1 | -1/+1 |
* | Deprecate `false` as the way to halt AS callbacks | claudiob | 2015-01-02 | 1 | -1/+7 |
* | Pass symbol as an argument instead of a block | Erik Michaels-Ober | 2014-11-29 | 1 | -3/+3 |
* | Autosave callbacks shouldn't be `after_save` | Agis- | 2014-10-13 | 1 | -1/+3 |
* | Use has_attribute? | Rafael Mendonça França | 2014-09-17 | 1 | -1/+1 |
* | Don't autosave unchanged has_one through records | Alan Kennedy | 2014-09-15 | 1 | -1/+3 |
* | Do not mark object as persisted after an association is saved | Rafael Mendonça França | 2014-09-05 | 1 | -2/+0 |
* | Don't save through records twice | Sean Griffin | 2014-06-17 | 1 | -3/+2 |
* | add has_one? method and reuse instead of checking macro | eileencodes | 2014-06-09 | 1 | -1/+1 |
* | Fix redefine a has_and_belongs_to_many inside inherited class | Arthur Neves | 2014-05-27 | 1 | -24/+23 |
* | Merge pull request #15210 from arthurnn/fix_hbtm_reflection | Arthur Neves | 2014-05-24 | 1 | -3/+5 |
* | Revert "Revert "Merge pull request #8313 from alan/only_save_changed_has_one_... | Rafael Mendonça França | 2014-05-20 | 1 | -2/+3 |
* | Merge pull request #14924 from eric-chahin/issue_13854 | Matthew Draper | 2014-05-03 | 1 | -1/+2 |
|\ |
|
| * | Fixed custom validation context bug where child | Eric Chahin | 2014-05-01 | 1 | -1/+2 |
|/ |
|
* | docs, make association `autosave: true` examples runnable. Closes #14700 | Yves Senn | 2014-04-11 | 1 | -6/+9 |
* | Revert "Merge pull request #8313 from alan/only_save_changed_has_one_objects" | Rafael Mendonça França | 2014-03-25 | 1 | -3/+2 |
* | Merge pull request #8313 from alan/only_save_changed_has_one_objects | Rafael Mendonça França | 2014-03-10 | 1 | -2/+3 |
|\ |
|
| * | Save has_one associations only if record has changes | Alan Kennedy | 2013-10-31 | 1 | -2/+3 |
* | | Revert "context in validation goes through has many relationship" | Aaron Patterson | 2014-02-20 | 1 | -1/+1 |
* | | context in validation goes through has many relationship | Kevin Casey | 2014-02-08 | 1 | -1/+1 |
|/ |
|
* | Save association when primary key is manually set | laurocaetano | 2013-10-24 | 1 | -1/+7 |
* | Fix some indentation on autosave association | Arthur Neves | 2013-10-17 | 1 | -196/+196 |
* | Make define_non_cyclic_method simpler | Arthur Neves | 2013-10-17 | 1 | -7/+7 |
* | extend by adding relationships rather than monkey patching | Aaron Patterson | 2013-07-22 | 1 | -6/+6 |