aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Fix `relation.exists?` with giving `distinct`, `offset` and `order` for joine...Takayuki Nakata2019-07-101-0/+5
* Merge branch 'master' into add_database_exist_methodGuillermo Iguaran2019-07-0825-139/+241
|\
| * When DATABASE_URL is specified don't trample envs that use a url: keyWill Jessop2019-07-081-0/+19
| * Merge pull request #36616 from kamipo/dont_use_alias_for_grouped_fieldRyuta Kamizono2019-07-081-0/+7
| |\
| | * Do not use aliases in GROUP BY clauseRyuta Kamizono2019-07-081-0/+7
| * | Should `Regexp.escape` quoted table name in regexRyuta Kamizono2019-07-087-115/+51
| |/
| * MySQL: Fix schema dumping `enum` and `set` columns correctlyRyuta Kamizono2019-07-054-5/+47
| * Merge pull request #36565 from rails/fix-url-configsEileen M. Uchitelle2019-06-272-1/+32
| |\
| | * Fix broken url configseileencodes2019-06-272-1/+32
| * | Address to "DEPRECATION WARNING: Uniqueness validator will no longer enforce ...Ryuta Kamizono2019-06-281-1/+1
| |/
| * `length(title)` is a safe SQL string since #36448Ryuta Kamizono2019-06-261-2/+2
| * Merge pull request #36210 from vishaltelangre/raise-record-invalid-when-assoc...Rafael França2019-06-243-0/+48
| |\
| | * Fix: ActiveRecord::RecordInvalid is not raised when an associated record fail...Vishal Telangre2019-05-103-0/+48
| * | Merge pull request #36526 from yahonda/test_statement_cache_with_in_clause_pgRyuta Kamizono2019-06-211-1/+1
| |\ \
| | * | Address test_statement_cache_with_in_clause failure due to nondeterministic s...Yasuo Honda2019-06-201-1/+1
| * | | Revert schema dumper to use strings rather than integerseileencodes2019-06-201-0/+1
| |/ /
| * | Merge pull request #36520 from kamipo/test_case_for_deterministic_orderRyuta Kamizono2019-06-201-0/+6
| |\ \
| | * | Add test cases to ensure deterministic order for ordinal methodsRyuta Kamizono2019-06-191-0/+6
| * | | Better error message for calling columns_hashGuilherme Mansur2019-06-191-0/+8
| |/ /
| * | Merge pull request #35891 from Shopify/schema-cache-deduplicationKasper Timm Hansen2019-06-194-14/+18
| |\ \
| | * | Deduplicate various Active Record schema cache structuresJean Boussier2019-06-034-14/+18
* | | | Add database_exists? method to connection adaptersGuilherme Mansur2019-06-173-0/+40
|/ / /
* | | PostgreSQL: Fix GROUP BY with ORDER BY virtual count attributeRyuta Kamizono2019-06-173-2/+9
* | | Remove unused `Arel::Attributes.for`Ryuta Kamizono2019-06-151-41/+0
* | | Should find last created recordRyuta Kamizono2019-06-151-3/+3
* | | Ensure to reset actually used `@connection.schema_migration`'s table nameRyuta Kamizono2019-06-151-4/+4
* | | Fix `test_schema_names` to include "hint_plan" schemaRyuta Kamizono2019-06-151-1/+5
* | | Move while_preventing_writes from conn to handlereileencodes2019-06-145-32/+92
* | | Move SchemaMigration to migration_contexteileencodes2019-06-149-114/+355
* | | Fix rubocop violationsRyuta Kamizono2019-06-141-2/+2
* | | Make ActiveRecord `ConnectionPool.connections` thread-safe. (#36473)jeffdoering2019-06-131-0/+22
* | | Ensure to reset migration version after testing migrationRyuta Kamizono2019-06-131-2/+2
* | | Reset migration version before testing migrationRyuta Kamizono2019-06-131-0/+2
* | | Avoid implicit rollback when testing migrationRyuta Kamizono2019-06-131-0/+2
* | | Merge pull request #36472 from kamipo/empty_line_only_before_access_modifierRyuta Kamizono2019-06-1351-56/+1
|\ \ \
| * | | Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-1351-56/+1
* | | | Clear schema cache when a table is created/dropped/renamedRyuta Kamizono2019-06-132-4/+7
|/ / /
* | | Merge pull request #36448 from kamipo/allow_column_name_with_simple_function_...Ryuta Kamizono2019-06-113-34/+35
|\ \ \
| * | | Allow column name with function (e.g. `length(title)`) as safe SQL stringRyuta Kamizono2019-06-103-34/+35
* | | | All modern adapters returns a numeric value as the result of numeric calculationRyuta Kamizono2019-06-112-10/+2
|/ / /
* | | Allow `column_name AS alias` as safe SQL stringRyuta Kamizono2019-06-101-0/+10
* | | NULLS { FIRST | LAST } is safe SQL string since 6c82b6c99d86f37e61f935fb342cc...Ryuta Kamizono2019-06-071-6/+6
* | | Merge pull request #36429 from bogdan/fix-preloading-duplicate-recordsRyuta Kamizono2019-06-071-0/+5
|\ \ \
| * | | Fix preloading on AR::Relation where records are duplicated by a joinBogdan Gusiev2019-06-061-0/+5
* | | | Merge pull request #36426 from abhaynikam/bump-codeclimate-rubocop-versionRyuta Kamizono2019-06-061-2/+0
|\ \ \ \
| * | | | Bump rubocop to 0.71Abhay Nikam2019-06-061-2/+0
* | | | | Merge pull request #36420 from kamipo/quoted_identifier_regexRyuta Kamizono2019-06-063-7/+29
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-063-7/+29
* | | | | Move schema cache from connection to pooleileencodes2019-06-051-1/+0
|/ / / /
* | | | Merge pull request #36394 from eileencodes/treat-application-record-as-primaryEileen M. Uchitelle2019-06-051-0/+13
|\ \ \ \