| Commit message (Expand) | Author | Age | Files | Lines |
* | Change the empty block style to have space inside of the block | Rafael Mendonça França | 2018-09-25 | 2 | -2/+2 |
* | Avoid the same `foreign_key` and `counter_cache` associations on `SillyReply` | Ryuta Kamizono | 2018-09-19 | 1 | -4/+4 |
* | Merge pull request #33378 from numbata/subclass-redefine-autosave-callbacks | Rafael Mendonça França | 2018-09-13 | 1 | -0/+6 |
|\ |
|
| * | Allow subclasses to redefine autosave callbacks for associated records | Andrey Subbota | 2018-07-27 | 1 | -0/+6 |
* | | Eager loading/preloading should be worked regardless of large number of records | Ryuta Kamizono | 2018-09-12 | 1 | -0/+1 |
* | | Fix regression setting children record in parent before_save callback. | Guo Xiang Tan | 2018-09-03 | 2 | -0/+12 |
* | | Permit list usage cleanup and clearer documentation | Kevin Deisz | 2018-08-27 | 1 | -1/+1 |
* | | Convert over the rest of the whitelist references | Kevin Deisz | 2018-08-24 | 1 | -1/+1 |
* | | Fix numericality validator not to be affected by custom getter | Ryuta Kamizono | 2018-08-13 | 1 | -0/+8 |
* | | Call build when extend with nested attributes defined | Alireza Bashiri | 2018-08-02 | 1 | -1/+7 |
|/ |
|
* | Avoid extra scoping in delegating to klass methods in the `scope` block | Ryuta Kamizono | 2018-07-19 | 1 | -0/+1 |
* | Ensure to calculate column aliases after all table aliases are constructed | Ryuta Kamizono | 2018-06-19 | 1 | -3/+4 |
* | Fix `touch` option to behave consistently with `Persistence#touch` method | Ryuta Kamizono | 2018-06-18 | 2 | -1/+3 |
* | Merge pull request #29373 from untidy-hair/store_accessor_enhance | Ryuta Kamizono | 2018-06-13 | 1 | -0/+3 |
|\ |
|
| * | Update prefix and allow suffix options for store accessors | Yukio Mizuta | 2018-06-12 | 1 | -0/+3 |
* | | Fix `collection.create` to could be rolled back by `after_save` | Ryuta Kamizono | 2018-06-07 | 1 | -0/+10 |
* | | Reuse existing model for testing duplicated children records | Ryuta Kamizono | 2018-06-07 | 2 | -5/+1 |
* | | Merge pull request #32952 from mechanicles/32940-fix | Ryuta Kamizono | 2018-05-29 | 2 | -0/+6 |
|\ \ |
|
| * | | Fix parent record should not get saved with duplicate children records | Santosh Wadghule | 2018-05-28 | 2 | -0/+6 |
| |/ |
|
* | | Fix that association's after_touch is not called with counter cache | Ryuta Kamizono | 2018-05-27 | 1 | -0/+10 |
* | | Fix inconsistent touching behavior between assigning and unassigning | Ryuta Kamizono | 2018-05-27 | 1 | -1/+1 |
|/ |
|
* | Rollback parent transaction when children fails to update (#32796) | Guillaume Malette | 2018-05-22 | 1 | -0/+5 |
* | `becomes` should clear the mutation tracker which is created in `after_initia... | Ryuta Kamizono | 2018-05-11 | 1 | -1/+1 |
* | `get_value` needs to be a public method | Graham Turner | 2018-04-25 | 1 | -0/+3 |
* | Using existing models for building multiple has_one through tests | Ryuta Kamizono | 2018-04-22 | 5 | -24/+1 |
* | Fix .new with multiple through associations | Sam DeCesare | 2018-04-09 | 4 | -0/+24 |
* | Merge pull request #32355 from kamipo/delegate_to_klass_in_a_scope | Rafael França | 2018-04-06 | 1 | -0/+8 |
|\ |
|
| * | Deprecate accessibility of private/protected class methods in named scope | Ryuta Kamizono | 2018-03-30 | 1 | -2/+3 |
| * | Bring back private class methods accessibility in named scope | Ryuta Kamizono | 2018-03-27 | 1 | -1/+8 |
* | | Merge pull request #30956 from CJStadler/with-lock-changed-deprecation | Rafael França | 2018-03-28 | 1 | -0/+8 |
|/ |
|
* | Add custom prefix to ActiveRecord::Store accessors | Tan Huynh | 2018-03-23 | 1 | -0/+3 |
* | Make `reflection.klass` raise if `polymorphic?` not to be misused | Ryuta Kamizono | 2018-02-19 | 3 | -0/+5 |
* | Association scope's own order should be prioritized over through scope's order | Ryuta Kamizono | 2018-02-18 | 1 | -1/+2 |
* | Deprecate update_attributes and update_attributes! | Eddie Lebow | 2018-02-17 | 1 | -2/+2 |
* | Remove unused/missing `to_money` converter in the test/doc | Ryuta Kamizono | 2018-01-29 | 1 | -1/+1 |
* | Avoid passing unnecessary arguments to relation | Daniel Colson | 2018-01-24 | 1 | -0/+8 |
* | Don't update counter cache when through record was not destroyed | Eugene Kenny | 2018-01-14 | 2 | -0/+7 |
* | Merge pull request #23146 from piotrj/issue_18424 | Ryuta Kamizono | 2018-01-11 | 1 | -0/+3 |
|\ |
|
| * | When deleting through records, take into account association conditions | Piotr Jakubowski | 2016-05-04 | 1 | -0/+3 |
* | | Fix newly added reflection order when redefining association | Ryuta Kamizono | 2018-01-04 | 1 | -2/+2 |
* | | Merge pull request #27561 from fishbrain/count-all-in-has-many-association | Ryuta Kamizono | 2018-01-03 | 1 | -0/+2 |
|\ \ |
|
| * | | Use `count(:all)` in HasManyAssociation#count_records | Klas Eskilson | 2017-02-07 | 1 | -0/+2 |
* | | | Add test case for `collection_singular_ids` with symbol primary keys | Ryuta Kamizono | 2018-01-01 | 1 | -1/+1 |
* | | | save attributes changed by callbacks after update_attribute | Mike Busch | 2017-12-22 | 1 | -0/+7 |
* | | | Fix conflicts `counter_cache` with `touch: true` by optimistic locking. | bogdanvlviv | 2017-12-12 | 1 | -1/+1 |
* | | | Inverse instance should not be reloaded during autosave if called in validation | Anmol Chopra | 2017-11-27 | 1 | -0/+4 |
* | | | try using regexes | Ben Toews | 2017-11-09 | 7 | -21/+17 |
* | | | allow table name and direction in string order arg | Ben Toews | 2017-11-09 | 9 | -25/+29 |
* | | | work around deprecation warnings in a bunch of tests | Ben Toews | 2017-11-09 | 14 | -42/+46 |
* | | | `scoping` should respect current class and STI constraint (#29199) | Ryuta Kamizono | 2017-11-06 | 1 | -0/+4 |