| Commit message (Expand) | Author | Age | Files | Lines |
* | Extract all `base_class.name` as `polymorphic_name` | Ryuta Kamizono | 2018-03-04 | 1 | -1/+1 |
* | Partly revert 91b30a001b79096b60d9424a4664a417dce0b767 | Ryuta Kamizono | 2018-02-27 | 1 | -1/+7 |
* | Merge pull request #31895 from kamipo/do_not_attempt_to_find_inverse_of_polym... | Ryuta Kamizono | 2018-02-26 | 1 | -10/+7 |
|\ |
|
| * | Do not attempt to automatically find the inverse of a polymorphic `belongs_to... | Ryuta Kamizono | 2018-02-19 | 1 | -10/+4 |
| * | Make `reflection.klass` raise if `polymorphic?` not to be misused | Ryuta Kamizono | 2018-02-19 | 1 | -1/+4 |
* | | Association creation and finding should work consistently (#32048) | Ryuta Kamizono | 2018-02-26 | 1 | -1/+1 |
|/ |
|
* | Rails 6 requires Ruby 2.3+ | Jeremy Daer | 2018-02-17 | 1 | -4/+2 |
* | Avoid passing unnecessary arguments to relation | Daniel Colson | 2018-01-24 | 1 | -1/+5 |
* | Remove the deprecated `:conditions` option in `INVALID_AUTOMATIC_INVERSE_OPTI... | Ryuta Kamizono | 2018-01-11 | 1 | -1/+1 |
* | Fix `stale_state` for nested `has_many :through` associations | Ryuta Kamizono | 2018-01-10 | 1 | -8/+0 |
* | Merge pull request #16314 from zoltankiss/allow-nested-has-many-associations-... | Ryuta Kamizono | 2018-01-10 | 1 | -0/+8 |
|\ |
|
| * | Fix nested `has many :through` associations on unpersisted instances | Zoltan Kiss | 2015-03-26 | 1 | -0/+4 |
* | | Fix newly added reflection order when redefining association | Ryuta Kamizono | 2018-01-04 | 1 | -1/+2 |
* | | Remove `association_primary_key_type` from `AssociationReflection` and `Throu... | Ryuta Kamizono | 2018-01-01 | 1 | -8/+0 |
* | | Refactor delegating `join_primary_key` instead of `join_keys` and `associatio... | Ryuta Kamizono | 2018-01-01 | 1 | -2/+2 |
* | | `source_type_scope` should respect correct table alias | Ryuta Kamizono | 2017-10-30 | 1 | -7/+3 |
* | | `PolymorphicReflection#scopes` is no longer used since a5651eb5 | Ryuta Kamizono | 2017-10-30 | 1 | -5/+0 |
* | | delegate scope for | pavel | 2017-10-27 | 1 | -1/+1 |
* | | Remove deprecated methd `#scope_chain` | Rafael Mendonça França | 2017-10-23 | 1 | -6/+0 |
* | | Remove deprecated support to passing a class to `:class_name` on associations | Rafael Mendonça França | 2017-10-23 | 1 | -8/+1 |
* | | Don't generate `foreign_type` if `options[:polymorphic]` is not given | Ryuta Kamizono | 2017-09-27 | 1 | -1/+1 |
* | | PERF: Restore memoization when preloading associations. | Guo Xiang Tan | 2017-09-25 | 1 | -6/+5 |
* | | The name of the key on the associated record is abstracted as `reflection.joi... | Ryuta Kamizono | 2017-09-18 | 1 | -9/+9 |
* | | Remove duplicated `klass` method in `AssociationReflection` | Ryuta Kamizono | 2017-09-08 | 1 | -16/+11 |
* | | Remove unused `primary_key_type` and `quoted_table_name` in `Reflection` | Ryuta Kamizono | 2017-09-08 | 1 | -8/+0 |
* | | Don't pass `table` to `last_chain_scope` and `next_chain_scope` | Ryuta Kamizono | 2017-09-07 | 1 | -2/+2 |
* | | `RuntimeReflection` is not a subclass of `PolymorphicReflection` | Ryuta Kamizono | 2017-09-07 | 1 | -26/+6 |
* | | `has_many :through` with unscope should affect to through scope | Ryuta Kamizono | 2017-09-07 | 1 | -2/+0 |
* | | Scope in associations should treat nil as `all` | Ryuta Kamizono | 2017-09-04 | 1 | -3/+3 |
* | | `@previous_reflection.options[:source_type]` in `PolymorphicReflection` is al... | Ryuta Kamizono | 2017-08-28 | 1 | -10/+2 |
* | | Remove unused `RuntimeReflection#alias_candidate` | Ryuta Kamizono | 2017-08-28 | 1 | -4/+0 |
* | | Automatically guess the inverse associations for STI | yui-knk | 2017-08-22 | 1 | -1/+1 |
* | | Through scope should not be affected by scoping | Ryuta Kamizono | 2017-08-15 | 1 | -7/+2 |
* | | Merge pull request #30208 from kamipo/extract_primary_key_to_abstract_reflection | Rafael França | 2017-08-14 | 1 | -8/+4 |
|\ \ |
|
| * | | Extract `primary_key` to `AbstractReflection` | Ryuta Kamizono | 2017-08-12 | 1 | -8/+4 |
* | | | Merge pull request #27609 from kamipo/fix_association_primary_key | Rafael França | 2017-08-14 | 1 | -0/+4 |
|\ \ \ |
|
| * | | | Fix `reflection.association_primary_key` for `has_many` associations | Ryuta Kamizono | 2017-08-13 | 1 | -0/+4 |
* | | | | Merge pull request #30231 from kamipo/remove_unused_source_type_info | Rafael França | 2017-08-14 | 1 | -10/+7 |
|\ \ \ \ |
|
| * | | | | Remove unused `source_type_info` in `RuntimeReflection` | Ryuta Kamizono | 2017-08-13 | 1 | -10/+7 |
| |/ / / |
|
* / / / | Remove duplicated `join_id_for` | Ryuta Kamizono | 2017-08-13 | 1 | -10/+2 |
|/ / / |
|
* / / | Remove duplicated `table_name` | Ryuta Kamizono | 2017-08-12 | 1 | -8/+0 |
|/ / |
|
* | | Changed join_fk private method to join_foreign_key public method | chopraanmol1 | 2017-08-09 | 1 | -9/+9 |
* | | Use `Concurrent::Map` than `Mutex` and `Mutex_m` for statement caches | Ryuta Kamizono | 2017-08-04 | 1 | -6/+3 |
* | | Passing `klass` to `StatementCache.new` | Ryuta Kamizono | 2017-08-04 | 1 | -2/+2 |
* | | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 1 | -0/+2 |
* | | Fix unscoping `default_scope` in STI associations | Ryuta Kamizono | 2017-07-19 | 1 | -2/+4 |
* | | Post.joins(:users) should not be affected by `User.current_scope` | Sean Griffin | 2017-07-17 | 1 | -4/+2 |
* | | Fix eager loading association with scope including joins | Ryuta Kamizono | 2017-07-04 | 1 | -7/+11 |
* | | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
* | | Merge pull request #29540 from kirs/rubocop-frozen-string | Matthew Draper | 2017-07-02 | 1 | -0/+1 |
|\ \ |
|