Commit message (Expand) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | Allow `truncate` for SQLite3 adapter and add `rails db:seed:replant` (#34779) | Bogdan | 2019-03-04 | 6 | -0/+64 | |
* | | | | | Deprecate mismatched collation comparison for uniquness validator | Ryuta Kamizono | 2019-03-04 | 3 | -2/+16 | |
* | | | | | Fixed reselect throwing NoMethodError on ActiveRecord. | Abhay Nikam | 2019-03-03 | 1 | -1/+2 | |
* | | | | | Merge pull request #35441 from kamipo/allow_from_with_index_hint | Ryuta Kamizono | 2019-03-01 | 1 | -2/+5 | |
|\ \ \ \ \ | ||||||
| * | | | | | Relax table name detection in `from` to allow any extension like INDEX hint | Ryuta Kamizono | 2019-03-01 | 1 | -2/+5 | |
* | | | | | | Merge pull request #35431 from kamipo/enable_sql_cache_on_find | Ryuta Kamizono | 2019-03-01 | 1 | -1/+1 | |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | ||||||
| * | | | | | Enable SQL statement cache for `find` on base class as with `find_by` | Ryuta Kamizono | 2019-03-01 | 1 | -1/+1 | |
* | | | | | | Merge pull request #33611 from willianveiga/feature/reselect-method | Andrew White | 2019-03-01 | 1 | -0/+21 | |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | ||||||
| * | | | | | Avoid creating an extra relation instance | Willian Gustavo Veiga | 2018-10-24 | 1 | -2/+9 | |
| * | | | | | Merge branch 'master' into feature/reselect-method | Willian Gustavo Veiga | 2018-10-22 | 4 | -19/+15 | |
| |\ \ \ \ \ | ||||||
| * \ \ \ \ \ | Merge branch 'master' into feature/reselect-method | Willian Gustavo Veiga | 2018-10-17 | 14 | -118/+82 | |
| |\ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ | Merge branch 'master' into feature/reselect-method | Willian Gustavo Veiga | 2018-10-11 | 29 | -692/+944 | |
| |\ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ | Merge branch 'master' into feature/reselect-method | Willian Gustavo Veiga | 2018-10-02 | 105 | -714/+1276 | |
| |\ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | Add reselect method | Willian Gustavo Veiga | 2018-08-13 | 1 | -0/+14 | |
* | | | | | | | | | | [ci skip] The `find` method coerces the given arguments to integer if the `pr... | Mehmet Emin INAC | 2019-02-28 | 1 | -1/+1 | |
* | | | | | | | | | | [ci skip] Fix the documentation of ActiveRecord::FinderMethods#find | Mehmet Emin INAC | 2019-02-28 | 1 | -2/+2 | |
* | | | | | | | | | | Refactor `generated_relation_methods` to remove duplicated code on `ClassSpec... | Ryuta Kamizono | 2019-02-28 | 1 | -31/+20 | |
* | | | | | | | | | | Allow returning nil for `default_scope` | Ryuta Kamizono | 2019-02-28 | 1 | -5/+4 | |
* | | | | | | | | | | Fix preload with nested associations | Rafael Mendonça França | 2019-02-26 | 1 | -1/+5 | |
* | | | | | | | | | | Add negative scopes for all enum values (#35381) | David Heinemeier Hansson | 2019-02-26 | 1 | -0/+6 | |
* | | | | | | | | | | Don't cache `find_by` statements on STI subclasses | Ryuta Kamizono | 2019-02-27 | 1 | -1/+2 | |
* | | | | | | | | | | fixes different `count` calculation when using `size` manual `select` with DI... | jvillarejo | 2019-02-26 | 1 | -3/+8 | |
| |_|_|_|_|_|/ / / |/| | | | | | | | | ||||||
* | | | | | | | | | Preparing for 6.0.0.beta2 release | Rafael Mendonça França | 2019-02-25 | 1 | -1/+1 | |
* | | | | | | | | | Merge pull request #35402 from alimi/update-ar-read-regex | Aaron Patterson | 2019-02-25 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | Update READ_QUERY regex | Ali Ibrahim | 2019-02-25 | 1 | -1/+1 | |
* | | | | | | | | | | Refactor `type_to_sql` to handle converting `limit` to `size` in itself | Ryuta Kamizono | 2019-02-26 | 4 | -67/+60 | |
* | | | | | | | | | | Fix prepared statements caching to be enabled even when query caching is enabled | Ryuta Kamizono | 2019-02-26 | 3 | -13/+20 | |
|/ / / / / / / / / | ||||||
* | | | | | | | | | Merge pull request #35352 from kamipo/update_all_doesnt_care_optimistic_locking | Ryuta Kamizono | 2019-02-25 | 1 | -10/+15 | |
|\ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | Ensure `update_all` series cares about optimistic locking | Ryuta Kamizono | 2019-02-25 | 1 | -10/+15 | |
* | | | | | | | | | | minor grammar fix [ci skip] | Shivam Jain | 2019-02-24 | 1 | -1/+1 | |
* | | | | | | | | | | Fix `pluck` and `select` with `from` if `from` has original table name | Ryuta Kamizono | 2019-02-22 | 1 | -1/+3 | |
* | | | | | | | | | | Should not pass extra args to `_update_record` | Ryuta Kamizono | 2019-02-21 | 3 | -7/+13 | |
|/ / / / / / / / / | ||||||
* | | | | | | | | | Address "warning: in `column': the last argument was passed as a single Hash" | Ryuta Kamizono | 2019-02-21 | 2 | -4/+4 | |
* | | | | | | | | | Extract `default_uniqueness_comparison` to ease to handle mismatched collatio... | Ryuta Kamizono | 2019-02-21 | 2 | -1/+7 | |
* | | | | | | | | | Fix lint `ShadowingOuterLocalVariable` | soartec-lab | 2019-02-21 | 1 | -3/+3 | |
* | | | | | | | | | Merge pull request #35263 from hatch-carl/reduce-postgres-uuid-allocations | Ryuta Kamizono | 2019-02-21 | 1 | -3/+6 | |
|\ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | Reduce unused allocations when casting UUIDs for Postgres | Carl Thuringer | 2019-02-20 | 1 | -3/+6 | |
* | | | | | | | | | | Merge pull request #35327 from abhaynikam/use-delete-by-and-destroy-by-method | Ryuta Kamizono | 2019-02-20 | 3 | -3/+3 | |
|\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | Replaced usage of where.delete/destroy_all with delete/destroy_by | Abhay Nikam | 2019-02-20 | 3 | -3/+3 | |
| |/ / / / / / / / / | ||||||
* | | | | | | | | | | Merge pull request #35247 from bogdan/fix-source-reflection-reset-code | Ryuta Kamizono | 2019-02-20 | 2 | -21/+10 | |
|\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | Fix reset of the source association when through association is loaded | Bogdan Gusiev | 2019-02-20 | 2 | -21/+10 | |
* | | | | | | | | | | | PostgreSQL: Support endless range values for range types | Ryuta Kamizono | 2019-02-20 | 2 | -2/+2 | |
| |/ / / / / / / / / |/| | | | | | | | | | ||||||
* | | | | | | | | | | Merge pull request #35316 from abhaynikam/35304-add-delete_by_and_destroy_by | Ryuta Kamizono | 2019-02-19 | 2 | -1/+27 | |
|\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | Introduce delete_by and destroy_by methods to ActiveRecord::Relation | Abhay Nikam | 2019-02-19 | 2 | -1/+27 | |
|/ / / / / / / / / / | ||||||
* | | | | | | | | | | Don't allow `where` with invalid value matches to nil values | Ryuta Kamizono | 2019-02-18 | 1 | -2/+4 | |
* | | | | | | | | | | Use placeholder for `type_condition` predicate | Ryuta Kamizono | 2019-02-18 | 1 | -1/+1 | |
* | | | | | | | | | | Fix eager loading polymorphic association with mixed table conditions | Ryuta Kamizono | 2019-02-18 | 4 | -25/+29 | |
* | | | | | | | | | | Merge pull request #35274 from AlexBrodianoi/fix_does_not_support_reverse | Ryuta Kamizono | 2019-02-17 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | Raise ActiveRecord::IrreversibleOrderError if nulls first/last is not a singl... | Finn Young | 2019-02-17 | 1 | -1/+1 | |
* | | | | | | | | | | | Fix `order` with custom attributes | Ryuta Kamizono | 2019-02-17 | 1 | -2/+8 |