aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | | Revert "Merge pull request #35127 from bogdan/counter-cache-loading"Ryuta Kamizono2019-02-132-11/+6
|/ / /
* | | Should respect attribute_types over column_typesRyuta Kamizono2019-02-131-2/+1
* | | Fix `pluck` and `select` with custom attributesRyuta Kamizono2019-02-132-9/+19
* | | Avoid implicit delegation in the migration compatibilityRyuta Kamizono2019-02-121-12/+14
|/ /
* | Merge pull request #35196 from gmcgibbon/clarify_collection_proxy_docsGannon McGibbon2019-02-112-11/+25
|\ \
| * | Clarify collection proxy docsGannon McGibbon2019-02-082-11/+25
* | | Add `remove_foreign_key` for `change_table`Ryuta Kamizono2019-02-111-0/+11
* | | Fix typo a -> an, an -> a [ci skip]Ryuta Kamizono2019-02-112-2/+2
* | | SQLite3: Implement `add_foreign_key` and `remove_foreign_key`Ryuta Kamizono2019-02-115-6/+34
* | | More exercise table name prefix and suffix testsRyuta Kamizono2019-02-114-8/+16
* | | Merge pull request #35203 from chiastolite/add_column_without_column_namesRyuta Kamizono2019-02-101-0/+1
|\ \ \
| * | | Do not allow to add column without column nameHiroyuki Morita2019-02-101-0/+1
|/ / /
* | | Refactor to extract defining column methods as `define_column_methods`Ryuta Kamizono2019-02-093-142/+161
* | | Refactor to just use `Association#target=` in `associate_records_to_owner`Ryuta Kamizono2019-02-091-3/+2
* | | Merge pull request #34618 from bogdanvlviv/fix-elapsed-time-calculationsKasper Timm Hansen2019-02-082-6/+6
|\ \ \
| * | | Fix elapsed time calculationsbogdanvlviv2019-02-082-6/+6
* | | | Merge pull request #35193 from kamipo/fix_exists_with_distinct_and_offsetRyuta Kamizono2019-02-081-4/+8
|\ \ \ \
| * | | | Fix `relation.exists?` with giving both `distinct` and `offset`Ryuta Kamizono2019-02-081-4/+8
| | |_|/ | |/| |
* | | | Merge pull request #35178 from bogdan/has-many-sizeRyuta Kamizono2019-02-081-2/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Bugfix has_many association #size when ids reader is cached and association i...Bogdan Gusiev2019-02-081-2/+2
* | | | Refactor extracting `current_scope_restoring_block` into the scoping classRyuta Kamizono2019-02-082-5/+9
* | | | Rename database_operations config to *_contextJohn Hawthorn2019-02-071-1/+1
| |_|/ |/| |
* | | Merge pull request #35182 from jhawthorn/db-selection-refactorEileen M. Uchitelle2019-02-073-19/+19
|\ \ \ | |_|/ |/| |