aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* [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-184-25/+29
* | 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
* | | Merge pull request #35297 from yhara/fix-ar-connection-handler-leakRyuta Kamizono2019-02-161-7/+11
|\ \ \
| * | | Fix possible memory leak of ConnectionHandlerYutaka HARA2019-02-161-7/+11
* | | | Refactor `remove_foreign_key` to delete the foreign key before `alter_table`Ryuta Kamizono2019-02-161-4/+2
|/ / /
* | | Merge pull request #35286 from matthewdunbar/masterRyuta Kamizono2019-02-161-0/+6
|\ \ \
| * | | Properly handle cached queries with too many bind parametersMatthew Dunbar2019-02-141-0/+6
* | | | Deprecate using class level querying methods if the receiver scope regarded a...Ryuta Kamizono2019-02-153-7/+48
* | | | Revert "Merge pull request #35186 from kamipo/fix_leaking_scope_on_relation_c...Ryuta Kamizono2019-02-152-19/+2
|/ / /
* | | Minor changes to deprecation warning message after 35242Abhay Nikam2019-02-152-4/+4
* | | Merge pull request #35242 from eileencodes/add-setter-and-deprecation-for-con...Eileen M. Uchitelle2019-02-141-6/+24
|\ \ \ | |/ / |/| |
| * | Improve errors and handling of hashes for database configurationseileencodes2019-02-141-6/+24
* | | Revert "Chaining named scope is no longer leaking to class level querying met...Ryuta Kamizono2019-02-142-3/+3
* | | Merge pull request #35244 from palkan/fix/activerecord-database-uri-resolveEileen M. Uchitelle2019-02-131-1/+1
|\ \ \
| * | | Fix database configurations building when DATABASE_URL presentVladimir Dementyev2019-02-121-1/+1