aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* 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
|\ \
| * | 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