aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* 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
|\ \
| * | Bugfix association loading behavior when counter cache is zeroBogdan Gusiev2019-02-052-16/+13
* | | 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-042-1/+10
|\ \
| * | Invalidate query cache for all connections in the current threadEileen Uchitelle2019-02-012-1/+10
* | | Merge pull request #35132 from eileencodes/allow-application-to-change-handle...Eileen M. Uchitelle2019-02-043-4/+8
|\ \ \
| * | | Add ability to change the names of the default handlersEileen Uchitelle2019-02-013-4/+8
| |/ /
* | | 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-013-11/+13
|\ \ \ \
| * | | | Refactor options for middlewareEileen Uchitelle2019-02-013-11/+13
| | |/ / | |/| |
* | | | Merge pull request #35082 from Shopify/eagerly-materialize-test-transactionsRafael França2019-02-012-4/+7
|\ \ \ \ | |/ / / |/| | |
| * | | Eagerly materialize the fixtures transactionJean Boussier2019-01-292-4/+7
* | | | Merge pull request #35116 from kamipo/fix_through_association_creationRyuta Kamizono2019-02-011-15/+5
|\ \ \ \
| * | | | Revert "Merge pull request #33729 from kddeisz/plural-automatic-inverse"Ryuta Kamizono2019-02-011-15/+5
* | | | | 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-301-2/+6
* | | | Merge pull request #35073 from eileencodes/db-selectionEileen M. Uchitelle2019-01-306-0/+223
|\ \ \ \
| * | | | Adds basic automatic database switching to RailsEileen Uchitelle2019-01-306-0/+223
| |/ / /
* / / / Fix case when we want a UrlConfig but the URL is nilEileen Uchitelle2019-01-302-5/+12
|/ / /
* | | Merge pull request #35071 from kamipo/text_without_limitRyuta Kamizono2019-01-293-4/+21
|\ \ \
| * | | Allow changing text and blob size without giving the `limit` optionRyuta Kamizono2019-01-293-4/+21
* | | | Pull `@template` in to a local variableAaron Patterson2019-01-281-2/+2
* | | | Remove `@view` instance variable from the partial rendererAaron Patterson2019-01-281-2/+2
|/ / /
* | | PostgreSQL: Use native timestamp decoders of pg-1.1Lars Kanis2019-01-261-0/+30
* | | Make `t.timestamps` with precision by defaultRyuta Kamizono2019-01-267-52/+69
* | | Fix `t.timestamps` missing `null: false` in `change_table bulk: true`Ryuta Kamizono2019-01-262-0/+4
* | | Allow `column_exists?` giving options without typeRyuta Kamizono2019-01-261-1/+1
* | | Merge pull request #35042 from eileencodes/fix-error-message-for-missing-handlerEileen M. Uchitelle2019-01-252-5/+10
|\ \ \ | |/ / |/| |
| * | Fix error raised when handler doesn't existEileen Uchitelle2019-01-252-5/+10
* | | Make `And` and `Case` into expression nodesKevin Deisz2019-01-242-4/+2
|/ /
* | Allow `column_exists?` to be passed `type` argument as a stringRyuta Kamizono2019-01-241-1/+1
* | Tell the user what to use instead of update_attributes/!Xavier Noria2019-01-231-2/+2