aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | | | Remove deprecated `#insert_fixtures` from the database adaptersRafael Mendonça França2019-01-172-22/+0
* | | | | | | Remove deprecated `ActiveRecord::ConnectionAdapters::SQLite3Adapter#valid_alt...Rafael Mendonça França2019-01-171-4/+0
* | | | | | | Do not allow passing the column name to `sum` when a block is passedRafael Mendonça França2019-01-171-3/+3
* | | | | | | Do not allow passing the column name to `count` when a block is passedRafael Mendonça França2019-01-171-3/+3
* | | | | | | Remove delegation of missing methods in a relation to arelRafael Mendonça França2019-01-171-16/+0
* | | | | | | Remove delegation of missing methods in a relation to private methods of the ...Rafael Mendonça França2019-01-171-7/+0
* | | | | | | Change `SQLite3Adapter` to always represent boolean values as integersRafael Mendonça França2019-01-171-13/+1
* | | | | | | Remove ability to specify a timestamp name for `#cache_key`Rafael Mendonça França2019-01-171-15/+0
* | | | | | | Remove deprecated `ActiveRecord::Migrator.migrations_path=`Rafael Mendonça França2019-01-171-10/+0
* | | | | | | Remove deprecated `expand_hash_conditions_for_aggregates`Rafael Mendonça França2019-01-171-6/+0
|/ / / / / /
* | | | | | Refs #28025 nullify *_type column on polymorphic associations on :nu… (#28...Laerti2019-01-154-0/+45
* | | | | | Merge pull request #34891 from gmcgibbon/ac_params_existsRafael França2019-01-142-0/+24
|\ \ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into ac_params_existsAaron Patterson2019-01-117-15/+39
| |\ \ \ \ \ \
| * | | | | | | Allow strong params in ActiveRecord::Base#exists?Gannon McGibbon2019-01-072-0/+24
* | | | | | | | More exercise test cases for `not_between`Ryuta Kamizono2019-01-121-29/+82
| |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #34906 from gregnavis/add-endless-ranges-to-activerecordAaron Patterson2019-01-111-0/+12
|\ \ \ \ \ \ \
| * | | | | | | Support endless ranges in whereGreg Navis2019-01-111-0/+12
* | | | | | | | Fix `test_case_insensitiveness` to follow up eb5fef5Ryuta Kamizono2019-01-111-9/+8
* | | | | | | | 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-093-4/+4
|/ / / / / / /
* / / / / / / :recycle: Fix mysql type map for enum and setbannzai2019-01-081-0/+4
|/ / / / / /
* | | | | | Merge pull request #34773 from eileencodes/share-fixture-connections-with-mul...Eileen M. Uchitelle2019-01-041-0/+34
|\ \ \ \ \ \
| * | | | | | Share the connection pool when there are multiple handlersEileen Uchitelle2019-01-031-0/+34
* | | | | | | Revert "Fix NumericData.average test on ruby 2.6"Alberto Almagro2019-01-041-6/+2
* | | | | | | Merge pull request #33985 from eugeneius/attribute_methods_schema_cacheKasper Timm Hansen2019-01-031-0/+16
|\ \ \ \ \ \ \
| * | | | | | | Only define attribute methods from schema cacheEugene Kenny2018-09-281-0/+16
* | | | | | | | fix activerecord reaper_testVladimir Dementyev2019-01-021-1/+1
* | | | | | | | Merge pull request #34836 from kamipo/class_level_update_without_idsRyuta Kamizono2019-01-021-0/+14
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Restore an ability that class level `update` without giving idsRyuta Kamizono2019-01-021-0/+14
* | | | | | | | Add assertions for `ActiveRecord::Base.current_role`Ryuta Kamizono2019-01-021-0/+6
* | | | | | | | Add test case for `preventing_writes?`Ryuta Kamizono2019-01-021-0/+10
|/ / / / / / /
* | | | | | | Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into Str...Ryuta Kamizono2019-01-021-0/+2
* | | | | | | Deprecate passing `migrations_paths` to `connection.assume_migrated_upto_vers...Ryuta Kamizono2018-12-281-0/+7
* | | | | | | Remove redundant assignning to `current_env`Ryuta Kamizono2018-12-281-1/+0
| |/ / / / / |/| | | | |
* | | | | | 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-212-0/+15
|\ \ \ \ \ \
| * | | | | | Raise helpful error when role doesn't existEileen Uchitelle2018-12-212-0/+15
* | | | | | | Merge pull request #34742 from kamipo/row_format_dynamic_by_defaultRyuta Kamizono2018-12-211-7/+14
|\ \ \ \ \ \ \
| * | | | | | | MySQL: `ROW_FORMAT=DYNAMIC` create table option by defaultRyuta Kamizono2018-12-191-7/+14
| |/ / / / / /
* | | | | | | Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-2118-286/+234
* | | | | | | Module#{attr,attr_accessor,attr_reader,attr_writer} become public since Ruby 2.5Ryuta Kamizono2018-12-213-3/+3
* | | | | | | Module#{define_method,alias_method,undef_method,remove_method} become public ...Ryuta Kamizono2018-12-214-9/+9
|/ / / / / /
* | | | | | Add test case for ce48b5a366482d4b4c4c053e1e39e79d71987197Ryuta Kamizono2018-12-181-0/+7
* | | | | | Enable `Layout/SpaceAfterSemicolon` cop to avoid newly adding odd spacingRyuta Kamizono2018-12-131-3/+3
* | | | | | Ensure that preventing writes is invoked before `materialize_transactions` co...Ryuta Kamizono2018-12-121-9/+21
* | | | | | Add AR::Base.connected_to?John Hawthorn2018-12-111-0/+11
* | | | | | An empty transaction does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-111-0/+10
* | | | | | Merge pull request #34666 from vinistock/upgrade_rubocop_and_fix_offensesRafael França2018-12-101-23/+23
|\ \ \ \ \ \
| * | | | | | Upgrade Rubocop to 0.61.1 and fix offensesVinicius Stock2018-12-101-23/+23