aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/base_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-31/+31
* Change refute to assert_notDaniel Colson2018-01-251-1/+1
* Use respond_to test helpersDaniel Colson2018-01-251-22/+22
* Make `sql_type` of primary key in SQLite to comparable with an integer (#28008)Ryuta Kamizono2017-12-261-1/+1
* Using table name qualified column names unless having SELECT list explicitlyRyuta Kamizono2017-12-181-3/+7
* Convert protected_environments to an array of stringsbogdanvlviv2017-12-121-0/+12
* Merge pull request #31403 from Edouard-chin/fix-quoted-columnnameRafael França2017-12-121-0/+8
|\
| * Quote colum_names when building select:Edouard CHIN2017-12-111-0/+8
* | Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-121-1/+1
|/
* SQLite3 valid integer value should be 8 bytes (64-bit signed integer) (#28379)Ryuta Kamizono2017-12-031-5/+3
* Allow test_ignored_columns_not_included_in_SELECT column names caseYasuo Honda2017-11-151-1/+1
* Do not use `Arel.star` when `ignored_columns`Jon Moss2017-11-131-0/+21
* Convert ignored_columns to a list of stringAltech2017-10-201-0/+12
* Test `ignored_columns` value is inheritable by subclassesRyuta Kamizono2017-10-191-0/+7
* Fix CI failure due to reference type mismatchRyuta Kamizono2017-08-141-2/+9
* Remove duplicated assertion in `test_count_with_join`Ryuta Kamizono2017-07-241-16/+2
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Merge pull request #26634 from kamipo/extract_numeric_dataRafael França2017-05-311-74/+0
|\
| * Extract `NumericDataTest` to `test/cases/numeric_data_test.rb`Ryuta Kamizono2016-12-221-68/+0
| * Extract `NumericData` model for testsRyuta Kamizono2016-09-271-7/+1
* | Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-1/+1
* | Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-1/+1
* | Merge pull request #28161 from bogdanvlviv/add_test_attributesRafael França2017-04-181-0/+11
|\ \
| * | Add test for method `#attributes`bogdanvlviv2017-02-251-0/+11
* | | Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-1/+1
|/ /
* | `primary_key` and `references` columns should be identical typeRyuta Kamizono2017-02-071-0/+7
* | Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-1/+1
* | Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-031-1/+1
|\ \
| * | Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-1/+1
* | | Merge pull request #27335 from kamipo/remove_duplicated_model_definitionSean Griffin2017-01-031-10/+1
|\ \ \
| * | | Remove duplicated model class definitions in `test/cases/base_test.rb`Ryuta Kamizono2016-12-121-10/+1
| |/ /
* | | Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`Ryuta Kamizono2016-12-301-6/+0
* | | Remove deprecated support to query using commas on LIMITRafael Mendonça França2016-12-291-12/+2
* | | "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-1/+1
|/ /
* | allow ActiveRecord::Core#slice to use array argCohen Carlisle2016-10-311-0/+10
* | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-14/+14
|/
* improve error message when include assertions failMichael Grosser2016-09-161-1/+1
* Add three new rubocop rulesRafael Mendonça França2016-08-161-3/+3
* Pass along original attribute to save later recursionAaron Patterson2016-08-141-0/+7
* Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+1
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-12/+10
* modernizes hash syntax in activerecordXavier Noria2016-08-061-53/+53
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-123/+123
* Removed a forgotten `with_exclusive_scope` test:Edouard CHIN2016-06-241-6/+0
* Remove unnecessary model requiresJon Moss2016-06-101-2/+0
* `ActiveRecord::Base#hash` should differ between classesSean Griffin2016-05-311-0/+4
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-2/+2