aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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-185-22/+5
|\
| * 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-181-10/+0
* | 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-182-8/+13
* | 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
* Remove public `prevent_writes` writerRyuta Kamizono2019-01-151-5/+5
* Deprecate `connection.visitor = ...` which is not released internal usageRyuta Kamizono2019-01-151-2/+6
* Merge branch 'master' into ac_params_existsAaron Patterson2019-01-1110-64/+47
|\
| * Remove `id_value` argument which is no longer passed to `sql_for_insert`Ryuta Kamizono2019-01-112-3/+3
| * Refactor `bind_attribute` to expand an association to actual attributeRyuta Kamizono2019-01-112-5/+5
| * Refactor `build_relation` in the uniqueness validator to avoid low level pred...Ryuta Kamizono2019-01-113-27/+29
| * Enable `Lint/UselessAssignment` cop to avoid unused variable warnings (#34904)Ryuta Kamizono2019-01-092-3/+3
| * Consolidate the duplicated code that building range predicateRyuta Kamizono2019-01-082-24/+5
| * :recycle: Fix mysql type map for enum and setbannzai2019-01-081-2/+2
* | Allow strong params in ActiveRecord::Base#exists?Gannon McGibbon2019-01-071-0/+2
|/
* Merge pull request #34773 from eileencodes/share-fixture-connections-with-mul...Eileen M. Uchitelle2019-01-041-0/+23
|\
| * Share the connection pool when there are multiple handlersEileen Uchitelle2019-01-031-0/+23
* | Merge pull request #34858 from albertoalmagro/make-rails-compatible-accross-r...Ryuta Kamizono2019-01-041-1/+1
|\ \
| * | Make average compatible accross Ruby versionsAlberto Almagro2019-01-041-1/+1
* | | Merge the redundant `when Symbol` case to the `when String, ...`Ryuta Kamizono2019-01-041-2/+1
* | | 2x faster `connection.type_cast`Ryuta Kamizono2019-01-041-6/+1
|/ /
* | Merge pull request #33985 from eugeneius/attribute_methods_schema_cacheKasper Timm Hansen2019-01-035-1/+30
|\ \
| * | Only define attribute methods from schema cacheEugene Kenny2018-09-285-1/+30
* | | Merge pull request #34836 from kamipo/class_level_update_without_idsRyuta Kamizono2019-01-021-1/+3
|\ \ \ | |_|/ |/| |
| * | Restore an ability that class level `update` without giving idsRyuta Kamizono2019-01-021-1/+3