aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/base_test.rb
Commit message (Expand)AuthorAgeFilesLines
* More exercise test cases for order by table name qualified column nameRyuta Kamizono2019-02-211-8/+8
* Extract duplicated `serialize` methods into helpersRyuta Kamizono2019-02-181-0/+3
* Remove duplicated `test_update_all_with_order_and_limit`Ryuta Kamizono2019-02-181-6/+0
* Revert "Merge pull request #35186 from kamipo/fix_leaking_scope_on_relation_c...Ryuta Kamizono2019-02-151-1/+1
* Fix `pluck` and `select` with custom attributesRyuta Kamizono2019-02-131-2/+3
* Fix `relation.create` to avoid leaking scope to initialization block and call...Ryuta Kamizono2019-02-071-1/+1
* An empty transaction does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-111-0/+10
* An explain query does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-111-0/+8
* Don't treat begin and rollback transactions as write queriesRyuta Kamizono2018-12-111-3/+9
* Rename error that occurs when writing on a readEileen Uchitelle2018-12-071-3/+3
* Assigned but unused variable - birdutilum2018-12-031-1/+1
* Add ability to prevent writes to a databaseEileen Uchitelle2018-11-301-0/+36
* Cached columns_hash fields should be excluded from ResultSet#column_typesDmitryTsepelev2018-11-271-0/+8
* Make `test_initialize_with_invalid_attribute` work correctlyyuuji.yaginuma2018-09-301-4/+6
* add mysql and sqlite3 default testkenjiszk2018-09-011-3/+5
* Ensure casting by boolean attribute when queryingRyuta Kamizono2018-05-291-43/+0
* Fix typo in ActiveRecord test method nameTakayoshi Nishida2018-05-021-1/+1
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-5/+5
* Autocorrect `refute` RuboCop violationsDaniel Colson2018-04-031-1/+1
* Properly escape column name embedded into regexpAndreas Bühmann2018-02-221-1/+1
* 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
|\ \