| Commit message (Expand) | Author | Age | Files | Lines |
* | Merge pull request #35327 from abhaynikam/use-delete-by-and-destroy-by-method | Ryuta Kamizono | 2019-02-20 | 1 | -1/+1 |
|\ |
|
| * | Replaced usage of where.delete/destroy_all with delete/destroy_by | Abhay Nikam | 2019-02-20 | 1 | -1/+1 |
* | | Merge pull request #35247 from bogdan/fix-source-reflection-reset-code | Ryuta Kamizono | 2019-02-20 | 1 | -0/+1 |
|\ \
| |/
|/| |
|
| * | Fix reset of the source association when through association is loaded | Bogdan Gusiev | 2019-02-20 | 1 | -0/+1 |
* | | Fix eager loading polymorphic association with mixed table conditions | Ryuta Kamizono | 2019-02-18 | 1 | -0/+1 |
* | | Fix `order` with custom attributes | Ryuta Kamizono | 2019-02-17 | 1 | -0/+4 |
* | | Revert "Merge pull request #35186 from kamipo/fix_leaking_scope_on_relation_c... | Ryuta Kamizono | 2019-02-15 | 1 | -2/+2 |
* | | Revert "Chaining named scope is no longer leaking to class level querying met... | Ryuta Kamizono | 2019-02-14 | 2 | -3/+2 |
* | | Fix `pluck` and `select` with custom attributes | Ryuta Kamizono | 2019-02-13 | 3 | -1/+10 |
|/ |
|
* | Fix `relation.create` to avoid leaking scope to initialization block and call... | Ryuta Kamizono | 2019-02-07 | 1 | -0/+5 |
* | Chaining named scope is no longer leaking to class level querying methods | Ryuta Kamizono | 2019-02-06 | 1 | -0/+7 |
* | Add regression test for has_many through record creation | Ryuta Kamizono | 2019-02-01 | 1 | -0/+2 |
* | Remove unused code | bogdanvlviv | 2019-01-30 | 1 | -8/+0 |
* | Ensure `StatementCache#execute` never raises `RangeError` | Ryuta Kamizono | 2019-01-18 | 1 | -0/+1 |
* | Refs #28025 nullify *_type column on polymorphic associations on :nu… (#28... | Laerti | 2019-01-15 | 2 | -0/+11 |
* | Don't treat begin and rollback transactions as write queries | Ryuta Kamizono | 2018-12-11 | 1 | -0/+5 |
* | Merge pull request #34572 from kamipo/fix_scoping_with_query_method | Ryuta Kamizono | 2018-11-30 | 1 | -0/+1 |
|\ |
|
| * | Fix the scoping with query methods in the scope block | Ryuta Kamizono | 2018-11-30 | 1 | -0/+1 |
* | | Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributes | Rafael França | 2018-11-27 | 1 | -0/+14 |
|\ \
| |/
|/| |
|
| * | Cached columns_hash fields should be excluded from ResultSet#column_types | DmitryTsepelev | 2018-11-27 | 1 | -0/+14 |
* | | More exercise singular association query | Ryuta Kamizono | 2018-11-28 | 1 | -1/+1 |
|/ |
|
* | Fix inspect with non-primary key id attribute | Eugene Kenny | 2018-11-06 | 1 | -0/+4 |
* | Exercise HABTM fixtures with foreign key constraints | Ryuta Kamizono | 2018-10-30 | 1 | -0/+6 |
* | `create_table` with `:primary_key` option has no effect if `id: false` is given | Ryuta Kamizono | 2018-10-27 | 2 | -4/+0 |
* | Generate delegation methods to named scope in the definition time | Ryuta Kamizono | 2018-10-09 | 2 | -5/+16 |
* | 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 |