aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Support beginless ranges in hash conditions.Josh Goodall2019-07-171-0/+24
* [ActiveRecord] Superclass for aborted queriesKir Shatrov2019-07-162-2/+5
* Raise specific exception on Mysql2::Error::TimeoutErrorKir Shatrov2019-07-161-0/+14
* Move the `ActiveModel:Errors#full_message` method to the `Error` class:Edouard CHIN2019-07-161-2/+2
* Merge pull request #36647 from giraffate/fix_exists_with_distinct_and_offset_...Ryuta Kamizono2019-07-111-0/+5
|\
| * Fix `relation.exists?` with giving `distinct`, `offset` and `order` for joine...Takayuki Nakata2019-07-101-0/+5
* | Merge pull request #36618 from engwan/fix-query-cache-with-shared-ar-connectionEileen M. Uchitelle2019-07-101-0/+17
|\ \ | |/ |/|
| * Fix query cache when using shared connectionsHeinrich Lee Yu2019-07-081-0/+17
* | Merge branch 'master' into add_database_exist_methodGuillermo Iguaran2019-07-0819-124/+222
|\ \
| * | 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-053-1/+47
| * Fix broken url configseileencodes2019-06-272-1/+32
| * `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-241-0/+41
| |\
| | * Fix: ActiveRecord::RecordInvalid is not raised when an associated record fail...Vishal Telangre2019-05-101-0/+41
| * | 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-192-4/+7
| |\ \
| | * | Deduplicate various Active Record schema cache structuresJean Boussier2019-06-032-4/+7
* | | | Add database_exists? method to connection adaptersGuilherme Mansur2019-06-173-0/+40
|/ / /
* | | PostgreSQL: Fix GROUP BY with ORDER BY virtual count attributeRyuta Kamizono2019-06-172-2/+8
* | | 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-1345-50/+1
|\ \ \
| * | | Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-1345-50/+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
|\ \ \ \