aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Allow test_ignored_columns_not_included_in_SELECT column names caseYasuo Honda2017-11-151-1/+1
* Fix CI failure due to invalid `up_only` for MySQLRyuta Kamizono2017-11-151-5/+7
* Add a #populate method to migrations (#31082)Rich2017-11-141-0/+25
* Merge pull request #27947 from mastahyeti/unsafe_raw_sqlMatthew Draper2017-11-145-31/+330
|\
| * use database agnostic function/quoting in testBen Toews2017-11-091-4/+4
| * push order arg checks down to allow for bindsBen Toews2017-11-091-0/+36
| * deal with Array arguments to #orderBen Toews2017-11-091-3/+3
| * convert order arg to string before checking if we can reverse itBen Toews2017-11-091-2/+2
| * use << instead of #concat in #reverse_sql_order because we might be working w...Ben Toews2017-11-091-1/+1
| * try using regexesBen Toews2017-11-0917-85/+82
| * allow table name and direction in string order argBen Toews2017-11-0916-194/+234
| * work around deprecation warnings in a bunch of testsBen Toews2017-11-0920-271/+274
| * remove :enabled optionBen Toews2017-11-091-54/+50
| * make tests more verbose/explicitBen Toews2017-11-091-78/+96
| * allow Arel.sql() for pluckBen Toews2017-11-093-33/+69
| * add config to check arguments to unsafe AR methodsBen Toews2017-11-091-0/+177
* | Properly cast input in `update_all`Sean Griffin2017-11-131-1/+6
* | Merge pull request #30980 from sobrinho/sobrinho/arel-star-ignored-columnsRafael França2017-11-135-45/+66
|\ \
| * | Fix postgres ordering issue on default scoping testGabriel Sobrinho2017-11-131-15/+15
| * | Change tests to use models which don't ignore any columnsJon Moss2017-11-133-30/+30
| * | Do not use `Arel.star` when `ignored_columns`Jon Moss2017-11-131-0/+21
* | | Add new error class `StatementTimeout` which will be raised when statement ti...Ryuta Kamizono2017-11-132-0/+57
* | | Raise `TransactionTimeout` when lock wait timeout exceeded for PG adapterRyuta Kamizono2017-11-112-1/+30
* | | Should test actual error which is raised from the databaseRyuta Kamizono2017-11-111-1/+23
* | | Relation merging should keep joining orderRyuta Kamizono2017-11-111-0/+9
* | | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2017-11-101-1/+1
* | | Ensure `apply_join_dependency` for subqueries in `from` and `where`Ryuta Kamizono2017-11-101-0/+12
* | | Merge pull request #30414 from bogdanvlviv/clear-mysql_database_tasksRafael França2017-11-091-74/+5
|\ \ \
| * | | Simplify implementation of `MySQLDatabaseTasks`bogdanvlviv2017-10-301-72/+3
| * | | Raise error if unsupported charset for mysqlbogdanvlviv2017-10-301-4/+4
* | | | Merge pull request #25346 from bogdan/correct-tags-count-in-fixturesRafael França2017-11-093-11/+11
|\ \ \ \
| * | | | Set counter caches to correct values in fixturesBogdan Gusiev2017-11-083-11/+11
* | | | | Move Attribute and AttributeSet to ActiveModelLisa Ugray2017-11-092-510/+0
| |_|_|/ |/| | |
* | | | Should pass `test_no_locks_no_wait` not only on `PostgreSQLAdapter` and `Orac...Ryuta Kamizono2017-11-091-8/+5
* | | | Run `ConcurrentTransactionTest` if `supports_transaction_isolation?`Yasuo Honda2017-11-081-15/+13
* | | | `Mysql2Adapter` should pass `ConcurrentTransactionTest`Ryuta Kamizono2017-11-091-1/+1
* | | | Consolidate redundant `if` and `unless` with the same conditionRyuta Kamizono2017-11-091-3/+1
|/ / /
* | | Fix `bin/rails db:migrate` with specified `VERSION`bogdanvlviv2017-11-062-4/+165
* | | `scoping` should respect current class and STI constraint (#29199)Ryuta Kamizono2017-11-061-0/+14
* | | Fix preloading polymorphic multi-level through associationRyuta Kamizono2017-11-061-0/+11
* | | Fix preloading polymorphic association when through association has already l...Ryuta Kamizono2017-11-061-0/+11
* | | Ensure `apply_join_dependency` for `update_all` and `delete_all` if eager-loa...Ryuta Kamizono2017-11-061-19/+30
* | | Ensure `apply_join_dependency` for `collection_cache_key` if eager-loading is...Ryuta Kamizono2017-11-061-0/+10
* | | Enable `Style/RedundantReturn` rubocop rule, and fixed a couple moreRyuta Kamizono2017-11-011-1/+1
* | | Address incorrect number of queries executed at Oracle enhanced adapterYasuo Honda2017-10-311-1/+1
|/ /
* | `source_type_scope` should respect correct table aliasRyuta Kamizono2017-10-301-0/+14
* | removed unnecessary semicolonsShuhei Kitagawa2017-10-282-2/+2
* | Fix all `s/trough/through/`Ryuta Kamizono2017-10-271-1/+1
* | Fix typo `s/trough/through/`Ryuta Kamizono2017-10-271-1/+1
* | Merge pull request #30682 from ahorek/fix_scope_forRyuta Kamizono2017-10-271-0/+5
|\ \