aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Revert "Merge pull request #33729 from kddeisz/plural-automatic-inverse"Ryuta Kamizono2019-02-011-15/+5
* 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
* activerecord: Fix statement cache for strictly cast attributesDylan Thacker-Smith2019-01-231-1/+1
* MySQL 8.0.14 adds `ER_FK_INCOMPATIBLE_COLUMNS`Yasuo Honda2019-01-221-1/+2
* Alias case nodesKevin Deisz2019-01-211-0/+2
* Fix type casting column default in `change_column`Ryuta Kamizono2019-01-203-27/+43
* Preparing for 6.0.0.beta1 releaseRafael Mendonça França2019-01-181-1/+1
* activerecord: Fix where nil condition on composed_of attributeDylan Thacker-Smith2019-01-181-4/+5
* Merge pull request #30000 from kamipo/all_of_queries_should_return_correct_re...Ryuta Kamizono2019-01-187-28/+27
|\
| * Ensure `StatementCache#execute` never raises `RangeError`Ryuta Kamizono2019-01-184-12/+5
| * All of queries should return correct result even if including large numberRyuta Kamizono2019-01-183-16/+22
* | Merge pull request #34969 from eileencodes/fix-error-message-for-multi-db-appsEileen M. Uchitelle2019-01-181-1/+20
|\ \ | |/ |/|
| * Fix error message when adapter is not specifiedEileen Uchitelle2019-01-171-1/+20
* | Use `unboundable?` rather than `boundable?`Ryuta Kamizono2019-01-184-14/+19
* | Merge pull request #34963 from dylanahsmith/better-composed-of-single-field-q...Rafael França2019-01-171-8/+12
|\ \
| * | Use public_send instead since respond_to? doesn't include private/protected m...Ryuta Kamizono2019-01-171-1/+1
| * | Avoid using yield_self to make it easier to backportDylan Thacker-Smith2019-01-171-5/+4
| * | activerecord: Use a simpler query condition for aggregates with one mappingDylan Thacker-Smith2019-01-171-8/+13
| |/
* | Remove deprecated `#set_state` from the transaction objectRafael Mendonça França2019-01-171-18/+0
* | Remove deprecated `#supports_statement_cache?` from the database adaptersRafael Mendonça França2019-01-171-7/+0
* | Remove deprecated `#insert_fixtures` from the database adaptersRafael Mendonça França2019-01-172-21/+1
* | Remove deprecated `ActiveRecord::ConnectionAdapters::SQLite3Adapter#valid_alt...Rafael Mendonça França2019-01-171-5/+0
* | Do not allow passing the column name to `sum` when a block is passedRafael Mendonça França2019-01-171-6/+4
* | Do not allow passing the column name to `count` when a block is passedRafael Mendonça França2019-01-171-6/+4
* | Remove delegation of missing methods in a relation to arelRafael Mendonça França2019-01-171-4/+0
* | Remove delegation of missing methods in a relation to private methods of the ...Rafael Mendonça França2019-01-171-5/+0
* | Change `SQLite3Adapter` to always represent boolean values as integersRafael Mendonça França2019-01-173-50/+24
* | Remove ability to specify a timestamp name for `#cache_key`Rafael Mendonça França2019-01-172-16/+6
* | Remove deprecated `ActiveRecord::Migrator.migrations_path=`Rafael Mendonça França2019-01-171-7/+0
* | Remove deprecated `expand_hash_conditions_for_aggregates`Rafael Mendonça França2019-01-171-37/+0
|/
* Add foreign key to active_storage_attachments for `blob_id` via new migrationbogdanvlviv2019-01-161-0/+4
* Refs #28025 nullify *_type column on polymorphic associations on :nu… (#28...Laerti2019-01-154-4/+13