aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | | | | 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
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Rename database selector operations to contextJohn Hawthorn2019-02-072-18/+18
| * | | | | | | Rename resolver ivar to operations in ResolverJohn Hawthorn2019-02-061-7/+7
| * | | | | | | Rename Session.build to Session.callJohn Hawthorn2019-02-062-2/+2
* | | | | | | | Fix `relation.create` to avoid leaking scope to initialization block and call...Ryuta Kamizono2019-02-071-2/+15
* | | | | | | | Refactor around scopingRyuta Kamizono2019-02-075-18/+16
|/ / / / / / /
* | | | | | | Fix `CollectionProxy#concat` to return self by alias it to `#<<`Yuya Tanaka2019-02-062-33/+6
* | | | | | | Merge pull request #35171 from rails/speed-up-partialsAaron Patterson2019-02-051-1/+1
|\ \ \ \ \ \ \
| * | | | | | | Speed up partial rendering by caching "variable" calculationAaron Patterson2019-02-051-1/+1
* | | | | | | | Relation no longer respond to Arel methodsRyuta Kamizono2019-02-061-1/+1
* | | | | | | | Chaining named scope is no longer leaking to class level querying methodsRyuta Kamizono2019-02-064-8/+9
| |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #35127 from bogdan/counter-cache-loadingRyuta Kamizono2019-02-052-16/+13
|\ \ \ \ \ \ \