| Commit message (Expand) | Author | Age | Files | Lines |
* | Fix eager loading associations with string joins not to raise NoMethodError | Ryuta Kamizono | 2019-05-15 | 1 | -0/+1 |
* | Namespace association extension modules under the owner model | Jean Boussier | 2019-05-02 | 1 | -8/+8 |
* | Make scope arity check consistent (#36134) | Rob Trame | 2019-05-01 | 1 | -0/+1 |
* | Fix merging left_joins to maintain its own `join_type` context | Ryuta Kamizono | 2019-04-27 | 1 | -0/+1 |
* | Merge pull request #32313 from lulalala/model_error_as_object | Rafael França | 2019-04-24 | 1 | -6/+6 |
|\ |
|
| * | Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'` | lulalala | 2019-03-31 | 1 | -6/+6 |
* | | Merge pull request #35869 from abhaynikam/35866-add-touch-option-for-has-one-... | Ryuta Kamizono | 2019-04-25 | 1 | -1/+3 |
|\ \ |
|
| * | | Adds touch option to has_one association | Abhay Nikam | 2019-04-25 | 1 | -1/+3 |
* | | | Avoid redundant `attribute_alias?` before `attribute_alias` | Ryuta Kamizono | 2019-04-24 | 1 | -2/+2 |
|/ / |
|
* | | Fix `automatic_inverse_of` not to be disabled if extension block is given | Ryuta Kamizono | 2019-04-12 | 1 | -0/+4 |
* | | Revert "Remove unused callbacks in the `Topic` model" | Ryuta Kamizono | 2019-04-10 | 1 | -0/+4 |
* | | Remove unused callbacks in the `Topic` model | Ryuta Kamizono | 2019-04-10 | 1 | -4/+0 |
* | | Merge pull request #28155 from lcreid/belongs_to | Ryuta Kamizono | 2019-04-10 | 3 | -0/+18 |
|\ \ |
|
| * | | Fix circular `autosave: true` | Larry Reid | 2018-07-23 | 3 | -0/+18 |
* | | | There is no need to check `null_relation?` in `empty_scope?` | Ryuta Kamizono | 2019-04-06 | 1 | -0/+4 |
| |/
|/| |
|
* | | Add Relation#annotate for SQL commenting | Matt Yoho | 2019-03-21 | 1 | -0/+16 |
* | | Fixed reselect throwing NoMethodError on ActiveRecord. | Abhay Nikam | 2019-03-03 | 1 | -0/+6 |
* | | Use the correct model in the test | Rafael Mendonça França | 2019-03-01 | 1 | -1/+1 |
* | | Use dedicated `Topic` model for `SerializedAttributeTest` | Ryuta Kamizono | 2019-02-28 | 1 | -4/+0 |
* | | Allow returning nil for `default_scope` | Ryuta Kamizono | 2019-02-28 | 1 | -0/+1 |
* | | Fix test that was broken by adding a default scope to an existing model | Rafael Mendonça França | 2019-02-26 | 2 | -0/+8 |
* | | Fix preload with nested associations | Rafael Mendonça França | 2019-02-26 | 1 | -0/+2 |
* | | 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 |
|\ \ |
|