aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* 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
|\ \
| * | Treat ActiveRecord::Base and ApplicationRecord as "primary"eileencodes2019-06-051-0/+13
| |/
* / Fix sqlite3 collation parsing when using decimal columns.Martin Schuster2019-06-041-0/+9
|/
* Merge pull request #36384 from guigs/fix-invalid-schema-when-pk-column-has-co...Ryuta Kamizono2019-06-031-1/+21
|\
| * Fix invalid schema dump when primary key column has a commentGuilherme Goettems Schneider2019-06-031-1/+21
* | Address test_pluck_columns_with_same_name failure due to nondeterministic sor...Yasuo Honda2019-06-021-1/+1
|/
* Fix table comment also being applied to the primary key columnGuilherme Goettems Schneider2019-05-311-0/+5
* Address intermittent CI failure due to non-determined sort orderRyuta Kamizono2019-05-301-6/+7
* Address intermittent CI failure in cascaded_eager_loading_test.rbRyuta Kamizono2019-05-291-12/+12
* Merge pull request #36353 from p8/fix-spelling-in-face-modelRyuta Kamizono2019-05-291-1/+1
|\
| * Fix comment for "broken" inverse_of associations [ci skip]Petrik2019-05-281-1/+1
* | Address intermittent CI failure due to unfilled schema columns cacheRyuta Kamizono2019-05-291-3/+3
|/
* Use `capture_sql` instead of `assert_sql` with no patternRyuta Kamizono2019-05-223-15/+12
* Give up filling schema cache before `assert_no_queries`Ryuta Kamizono2019-05-226-90/+24
* Fall back to type casting from the connection adapterRyuta Kamizono2019-05-211-1/+6
* Except SCHEMA SQLs in `capture_sql`Ryuta Kamizono2019-05-211-1/+1
* Implicit through table joins should be appeared before user supplied joinsRyuta Kamizono2019-05-191-0/+8
* Merge pull request #36284 from kamipo/fix_eager_loading_with_string_joinsRyuta Kamizono2019-05-152-0/+12
|\
| * Fix eager loading associations with string joins not to raise NoMethodErrorRyuta Kamizono2019-05-152-0/+12
* | Don't track implicit `touch` mutationRyuta Kamizono2019-05-131-5/+15
* | Remove ignored_sql from SQLCounter by adding "TRANSACTION" to log nameYasuo Honda2019-05-082-11/+3
|/
* Should attempt `committed!`/`rolledback!` to all enrolled records in the tran...Ryuta Kamizono2019-05-071-5/+51
* Remove redundant `test_too_many_binds`Yasuo Honda2019-05-031-20/+0