aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Deprecate mismatched collation comparison for uniquness validatorRyuta Kamizono2019-03-043-2/+16
* Fixed reselect throwing NoMethodError on ActiveRecord.Abhay Nikam2019-03-031-1/+2
* Merge pull request #35441 from kamipo/allow_from_with_index_hintRyuta Kamizono2019-03-011-2/+5
|\
| * Relax table name detection in `from` to allow any extension like INDEX hintRyuta Kamizono2019-03-011-2/+5
* | Merge pull request #35431 from kamipo/enable_sql_cache_on_findRyuta Kamizono2019-03-011-1/+1
|\ \ | |/ |/|
| * Enable SQL statement cache for `find` on base class as with `find_by`Ryuta Kamizono2019-03-011-1/+1
* | Merge pull request #33611 from willianveiga/feature/reselect-methodAndrew White2019-03-011-0/+21
|\ \ | |/ |/|
| * Avoid creating an extra relation instanceWillian Gustavo Veiga2018-10-241-2/+9
| * Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-224-19/+15
| |\
| * \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-1714-118/+82
| |\ \
| * \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-1127-622/+861
| |\ \ \
| * \ \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-0279-581/+1140
| |\ \ \ \
| * | | | | Add reselect methodWillian Gustavo Veiga2018-08-131-0/+14
* | | | | | [ci skip] The `find` method coerces the given arguments to integer if the `pr...Mehmet Emin INAC2019-02-281-1/+1
* | | | | | [ci skip] Fix the documentation of ActiveRecord::FinderMethods#findMehmet Emin INAC2019-02-281-2/+2
* | | | | | Refactor `generated_relation_methods` to remove duplicated code on `ClassSpec...Ryuta Kamizono2019-02-281-31/+20
* | | | | | Allow returning nil for `default_scope`Ryuta Kamizono2019-02-281-5/+4
* | | | | | Fix preload with nested associationsRafael Mendonça França2019-02-261-1/+5
* | | | | | Add negative scopes for all enum values (#35381)David Heinemeier Hansson2019-02-261-0/+6
* | | | | | Don't cache `find_by` statements on STI subclassesRyuta Kamizono2019-02-271-1/+2
* | | | | | fixes different `count` calculation when using `size` manual `select` with DI...jvillarejo2019-02-261-3/+8
* | | | | | Preparing for 6.0.0.beta2 releaseRafael Mendonça França2019-02-251-1/+1
* | | | | | Merge pull request #35402 from alimi/update-ar-read-regexAaron Patterson2019-02-251-1/+1
|\ \ \ \ \ \
| * | | | | | Update READ_QUERY regexAli Ibrahim2019-02-251-1/+1
* | | | | | | Refactor `type_to_sql` to handle converting `limit` to `size` in itselfRyuta Kamizono2019-02-264-67/+60
* | | | | | | Fix prepared statements caching to be enabled even when query caching is enabledRyuta Kamizono2019-02-263-13/+20
|/ / / / / /
* | | | | | Merge pull request #35352 from kamipo/update_all_doesnt_care_optimistic_lockingRyuta Kamizono2019-02-251-10/+15
|\ \ \ \ \ \
| * | | | | | Ensure `update_all` series cares about optimistic lockingRyuta Kamizono2019-02-251-10/+15
* | | | | | | minor grammar fix [ci skip]Shivam Jain2019-02-241-1/+1
* | | | | | | Fix `pluck` and `select` with `from` if `from` has original table nameRyuta Kamizono2019-02-221-1/+3
* | | | | | | Should not pass extra args to `_update_record`Ryuta Kamizono2019-02-213-7/+13
|/ / / / / /
* | | | | | Address "warning: in `column': the last argument was passed as a single Hash"Ryuta Kamizono2019-02-212-4/+4
* | | | | | Extract `default_uniqueness_comparison` to ease to handle mismatched collatio...Ryuta Kamizono2019-02-212-1/+7
* | | | | | Fix lint `ShadowingOuterLocalVariable`soartec-lab2019-02-211-3/+3
* | | | | | Merge pull request #35263 from hatch-carl/reduce-postgres-uuid-allocationsRyuta Kamizono2019-02-211-3/+6
|\ \ \ \ \ \
| * | | | | | Reduce unused allocations when casting UUIDs for PostgresCarl Thuringer2019-02-201-3/+6
* | | | | | | Merge pull request #35327 from abhaynikam/use-delete-by-and-destroy-by-methodRyuta Kamizono2019-02-203-3/+3
|\ \ \ \ \ \ \
| * | | | | | | Replaced usage of where.delete/destroy_all with delete/destroy_byAbhay Nikam2019-02-203-3/+3
| |/ / / / / /
* | | | | | | Merge pull request #35247 from bogdan/fix-source-reflection-reset-codeRyuta Kamizono2019-02-202-21/+10
|\ \ \ \ \ \ \
| * | | | | | | Fix reset of the source association when through association is loadedBogdan Gusiev2019-02-202-21/+10
* | | | | | | | PostgreSQL: Support endless range values for range typesRyuta Kamizono2019-02-202-2/+2
| |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #35316 from abhaynikam/35304-add-delete_by_and_destroy_byRyuta Kamizono2019-02-192-1/+27
|\ \ \ \ \ \ \
| * | | | | | | Introduce delete_by and destroy_by methods to ActiveRecord::RelationAbhay Nikam2019-02-192-1/+27
|/ / / / / / /
* | | | | | | Don't allow `where` with invalid value matches to nil valuesRyuta Kamizono2019-02-181-2/+4
* | | | | | | Use placeholder for `type_condition` predicateRyuta Kamizono2019-02-181-1/+1
* | | | | | | Fix eager loading polymorphic association with mixed table conditionsRyuta Kamizono2019-02-183-25/+22
* | | | | | | Merge pull request #35274 from AlexBrodianoi/fix_does_not_support_reverseRyuta Kamizono2019-02-171-1/+1
|\ \ \ \ \ \ \
| * | | | | | | Raise ActiveRecord::IrreversibleOrderError if nulls first/last is not a singl...Finn Young2019-02-171-1/+1
* | | | | | | | Fix `order` with custom attributesRyuta Kamizono2019-02-171-2/+8
* | | | | | | | Fix the regex that extract mismatched foreign key informationRyuta Kamizono2019-02-172-20/+35