aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Refs #28025 nullify *_type column on polymorphic associations on :nu… (#28...Laerti2019-01-159-4/+63
* Remove public `prevent_writes` writerRyuta Kamizono2019-01-151-5/+5
* Deprecate `connection.visitor = ...` which is not released internal usageRyuta Kamizono2019-01-151-2/+6
* Remove unused `Arel::Compatibility::Wheres`Ryuta Kamizono2019-01-152-36/+0
* Merge pull request #34891 from gmcgibbon/ac_params_existsRafael França2019-01-144-0/+31
|\
| * Merge branch 'master' into ac_params_existsAaron Patterson2019-01-1124-96/+111
| |\
| * | Allow strong params in ActiveRecord::Base#exists?Gannon McGibbon2019-01-074-0/+30
* | | More exercise test cases for `not_between`Ryuta Kamizono2019-01-122-31/+84
| |/ |/|
* | Merge pull request #34906 from gregnavis/add-endless-ranges-to-activerecordAaron Patterson2019-01-113-2/+18
|\ \
| * | Support endless ranges in whereGreg Navis2019-01-113-2/+18
* | | Remove `id_value` argument which is no longer passed to `sql_for_insert`Ryuta Kamizono2019-01-112-3/+3
* | | Fix `test_case_insensitiveness` to follow up eb5fef5Ryuta Kamizono2019-01-111-9/+8
* | | 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
* | | Merge pull request #34900 from gmcgibbon/fix_test_find_only_some_columnsEileen M. Uchitelle2019-01-091-2/+11
|\ \ \ | |/ / |/| |
| * | Reset column info on original Topic in serialized attr testGannon McGibbon2019-01-091-2/+11
* | | Enable `Lint/UselessAssignment` cop to avoid unused variable warnings (#34904)Ryuta Kamizono2019-01-098-12/+11
* | | Revert "Revert "Merge pull request #34387 from yhirano55/rails_info_propertie...Kasper Timm Hansen2019-01-081-0/+3
* | | Revert "Merge pull request #34387 from yhirano55/rails_info_properties_json"Kasper Timm Hansen2019-01-081-3/+0
|/ /
* | Consolidate the duplicated code that building range predicateRyuta Kamizono2019-01-085-36/+21
* | :recycle: Fix mysql type map for enum and setbannzai2019-01-082-2/+6
|/
* Merge pull request #34773 from eileencodes/share-fixture-connections-with-mul...Eileen M. Uchitelle2019-01-042-0/+57
|\
| * Share the connection pool when there are multiple handlersEileen Uchitelle2019-01-032-0/+57
* | Merge pull request #34858 from albertoalmagro/make-rails-compatible-accross-r...Ryuta Kamizono2019-01-042-7/+3
|\ \
| * | Make average compatible accross Ruby versionsAlberto Almagro2019-01-041-1/+1
| * | Revert "Fix NumericData.average test on ruby 2.6"Alberto Almagro2019-01-041-6/+2
* | | 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-036-1/+46
|\ \
| * | Only define attribute methods from schema cacheEugene Kenny2018-09-286-1/+46
* | | fix activerecord reaper_testVladimir Dementyev2019-01-021-1/+1
* | | Merge pull request #34836 from kamipo/class_level_update_without_idsRyuta Kamizono2019-01-022-1/+17
|\ \ \ | |_|/ |/| |
| * | Restore an ability that class level `update` without giving idsRyuta Kamizono2019-01-022-1/+17
* | | MariaDB: Remove version checking lower the 5.5.8Ryuta Kamizono2019-01-021-10/+2
* | | Add assertions for `ActiveRecord::Base.current_role`Ryuta Kamizono2019-01-021-0/+6
* | | Add test case for `preventing_writes?`Ryuta Kamizono2019-01-022-1/+11
* | | Bring ActiveRecord::Core's API document back [ci skip]yuuji.yaginuma2019-01-021-3/+1
|/ /
* | Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into Str...Ryuta Kamizono2019-01-022-1/+3
* | Bump license years for 2019Arun Agrawal2018-12-312-2/+2
* | Use high level API on `migration_context` instead of using low level API dire...Ryuta Kamizono2018-12-282-13/+11
* | Deprecate passing `migrations_paths` to `connection.assume_migrated_upto_vers...Ryuta Kamizono2018-12-284-12/+20
* | Remove redundant assignning to `current_env`Ryuta Kamizono2018-12-281-1/+0
* | Merge pull request #34806 from bogdan/reuse-find-targetRyuta Kamizono2018-12-274-30/+20
|\ \
| * | Reuse AR::Association#find_target methodBogdan Gusiev2018-12-274-29/+21
* | | No need to handle if FrozenError is availableYasuo Honda2018-12-235-9/+5
* | | Merge pull request #34753 from eileencodes/raise-less-confusing-error-if-hand...Eileen M. Uchitelle2018-12-213-0/+19
|\ \ \
| * | | Raise helpful error when role doesn't existEileen Uchitelle2018-12-213-0/+19
* | | | Merge pull request #34742 from kamipo/row_format_dynamic_by_defaultRyuta Kamizono2018-12-213-7/+40
|\ \ \ \
| * | | | MySQL: `ROW_FORMAT=DYNAMIC` create table option by defaultRyuta Kamizono2018-12-193-7/+40
| |/ / /
* | | | Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-2125-354/+286