aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* 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-082-4/+18
|\ \
| * | Fix `relation.exists?` with giving both `distinct` and `offset`Ryuta Kamizono2019-02-082-4/+18
* | | Merge pull request #35178 from bogdan/has-many-sizeRyuta Kamizono2019-02-082-2/+17
|\ \ \ | |/ / |/| |
| * | Bugfix has_many association #size when ids reader is cached and association i...Bogdan Gusiev2019-02-082-2/+17
* | | Refactor extracting `current_scope_restoring_block` into the scoping classRyuta Kamizono2019-02-082-5/+9
* | | Address `test_belongs_to_does_not_use_order_by` failure due to checking order...Yasuo Honda2019-02-082-3/+4
* | | Update CHANGELOG for database_resolver_contextJohn Hawthorn2019-02-071-2/+2
* | | 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-075-6/+45
* | | Refactor around scopingRyuta Kamizono2019-02-075-18/+16
|/ /
* | Fix `CollectionProxy#concat` to return self by alias it to `#<<`Yuya Tanaka2019-02-064-35/+10
* | 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-063-19/+8
* | | Merge pull request #32380 from kamipo/fix_leaking_scopeRyuta Kamizono2019-02-067-8/+32
|\ \ \
| * | | Chaining named scope is no longer leaking to class level querying methodsRyuta Kamizono2019-02-067-8/+32
| | |/ | |/|
* / | Respect ENV variables when finding DBs etc for the test suiteMatthew Draper2019-02-062-4/+15
|/ /
* | Merge pull request #35127 from bogdan/counter-cache-loadingRyuta Kamizono2019-02-053-21/+48
|\ \
| * | Bugfix association loading behavior when counter cache is zeroBogdan Gusiev2019-02-053-21/+48
* | | Merge pull request #35154 from sponomarev/chore/sqlite1.4Aaron Patterson2019-02-041-1/+1
|\ \ \ | |_|/ |/| |
| * | Relax sqlite3 version dependencySergey Ponomarev2019-02-041-1/+1
* | | Improve performance of blank? and present? in an ActiveRecord::Base instanceRafael Mendonça França2019-02-041-0/+8
|/ /
* | Merge pull request #35089 from eileencodes/fix-query-cache-for-database-switc...Eileen M. Uchitelle2019-02-043-1/+48
|\ \
| * | Invalidate query cache for all connections in the current threadEileen Uchitelle2019-02-013-1/+48
* | | Merge pull request #35132 from eileencodes/allow-application-to-change-handle...Eileen M. Uchitelle2019-02-046-4/+56
|\ \ \
| * | | Add ability to change the names of the default handlersEileen Uchitelle2019-02-016-4/+56
| |/ /
* | | Merge pull request #35105 from olivierlacan/document-table-foreign-keyGannon McGibbon2019-02-021-1/+2
|\ \ \
| * | | Hint at advanced options for foreign_keyOlivier Lacan2019-01-301-1/+2
* | | | Merge pull request #35130 from rails/move-delay-to-options-argumentEileen M. Uchitelle2019-02-014-11/+61
|\ \ \ \
| * | | | Refactor options for middlewareEileen Uchitelle2019-02-014-11/+61
| | |/ / | |/| |
* | | | Merge pull request #35082 from Shopify/eagerly-materialize-test-transactionsRafael França2019-02-013-5/+8
|\ \ \ \ | |/ / / |/| | |
| * | | Eagerly materialize the fixtures transactionJean Boussier2019-01-293-5/+8
* | | | Merge pull request #35116 from kamipo/fix_through_association_creationRyuta Kamizono2019-02-014-27/+11
|\ \ \ \
| * | | | Revert "Merge pull request #33729 from kddeisz/plural-automatic-inverse"Ryuta Kamizono2019-02-012-27/+5
| * | | | Add regression test for has_many through record creationRyuta Kamizono2019-02-012-0/+6
* | | | | Remove unused attr_writers `visitor` and `indexes`Ryuta Kamizono2019-02-012-7/+0
* | | | | ActiveRecord typo fixe.alkesh262019-01-311-1/+1
|/ / / /
* | | | Fixed typo for DatabaseSelector::Resolver documentationAbhay Nikam2019-01-311-1/+1
* | | | Remove redundant begin blockRyuta Kamizono2019-01-311-6/+3
* | | | Write update_last_write_timestamp after requestJohn Hawthorn2019-01-302-2/+43
* | | | Merge pull request #35073 from eileencodes/db-selectionEileen M. Uchitelle2019-01-308-0/+333
|\ \ \ \
| * | | | Adds basic automatic database switching to RailsEileen Uchitelle2019-01-308-0/+333
| |/ / /
* | | | Merge pull request #35102 from eileencodes/fix-case-when-url-in-url-config-is...Eileen M. Uchitelle2019-01-303-5/+20
|\ \ \ \