| Commit message (Expand) | Author | Age | Files | Lines |
* | 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 |
* | | | delegate scope for | pavel | 2017-10-27 | 4 | -0/+5 |
* | | | Place `MocktailDesigner` in `test/models/drink_designer.rb` | Ryuta Kamizono | 2017-10-23 | 2 | -4/+3 |
* | | | Convert ignored_columns to a list of string | Altech | 2017-10-20 | 1 | -0/+8 |
* | | | Test `ignored_columns` value is inheritable by subclasses | Ryuta Kamizono | 2017-10-19 | 1 | -0/+3 |
* | | | Joined tables in association scope doesn't use the same aliases with the pare... | Ryuta Kamizono | 2017-10-09 | 1 | -0/+1 |
* | | | Add test case for `arel_attribute` with a custom table | Ryuta Kamizono | 2017-09-27 | 1 | -1/+1 |
* | | | `has_many :through` with unscope should affect to through scope | Ryuta Kamizono | 2017-09-07 | 1 | -0/+1 |
* | | | Scope in associations should treat nil as `all` | Ryuta Kamizono | 2017-09-04 | 1 | -1/+1 |
* | | | `values[:includes]` in `reflection_scope` is not compatible with `through_scope` | Ryuta Kamizono | 2017-09-02 | 1 | -1/+1 |
* | | | `counter_cache` requires association class before `attr_readonly` | Yasuo Honda | 2017-08-23 | 1 | -0/+3 |
* | | | Clarify base_class tests on abstract STI vs concrete STI | Yukio Mizuta | 2017-08-12 | 1 | -1/+6 |
* | | | Merge pull request #29848 from kamipo/fix_distinct_count_with_order_and_limit | Rafael França | 2017-07-24 | 2 | -34/+35 |
|\ \ \ |
|
| * | | | Extract `Account` model to the dedicated file | Ryuta Kamizono | 2017-07-22 | 2 | -34/+35 |
* | | | | Merge pull request #29765 from lugray/fix_counter_cache | Rafael França | 2017-07-24 | 1 | -0/+6 |
|\ \ \ \
| |/ / /
|/| | | |
|
| * | | | Add test for fixed `counter_cache` double increment | Lisa Ugray | 2017-07-19 | 1 | -0/+6 |
* | | | | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 144 | -10/+298 |
|/ / / |
|
* | | | Fix unscoping `default_scope` in STI associations | Ryuta Kamizono | 2017-07-19 | 1 | -0/+1 |
* | | | Remove deprecated code concerning non-attributes and `*_will_change!` | Sean Griffin | 2017-07-18 | 1 | -1/+1 |
* | | | Merge pull request #29679 from kamipo/add_test_case_for_27724 | Kasper Timm Hansen | 2017-07-15 | 1 | -0/+5 |
|\ \ \ |
|
| * | | | Add a test case for overwriting existing condition on associations | Ryuta Kamizono | 2017-07-07 | 1 | -0/+5 |
* | | | | Extract `FakeKlass` in `relation_test.rb` and `relation/mutation_test.rb` | Ryuta Kamizono | 2017-07-11 | 1 | -0/+32 |
|/ / / |
|
* | | | Fix preloading association with scope including joins | Ryuta Kamizono | 2017-07-04 | 2 | -0/+3 |
* | | | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 144 | -154/+10 |
* | | | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 144 | -10/+154 |
* | | | Merge pull request #29416 from kamipo/remove_unused_subject_model | Rafael França | 2017-06-28 | 1 | -14/+0 |
|\ \ \ |
|
| * | | | Remove unused `Subject` model in tests | Ryuta Kamizono | 2017-06-11 | 1 | -14/+0 |