aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* MySQL: Fix schema dumping `enum` and `set` columns correctlyRyuta Kamizono2019-07-056-7/+55
* Add "SCHEMA" to the query in `configure_connection` like as other adaptersRyuta Kamizono2019-06-281-1/+1
* warning: instance variable @serial not initialized (#36556)utilum2019-06-281-0/+10
* Merge pull request #36565 from rails/fix-url-configsEileen M. Uchitelle2019-06-273-2/+33
|\
| * Fix broken url configseileencodes2019-06-273-2/+33
* | Address to "DEPRECATION WARNING: Uniqueness validator will no longer enforce ...Ryuta Kamizono2019-06-281-1/+1
|/
* Merge pull request #36560 from eileencodes/warn-if-database-yml-cant-be-readEileen M. Uchitelle2019-06-272-9/+20
|\
| * Load initial database.yml once, and warn if we can't create taskseileencodes2019-06-272-9/+20
* | `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-244-1/+49
|\
| * Fix: ActiveRecord::RecordInvalid is not raised when an associated record fail...Vishal Telangre2019-05-104-1/+49
* | Schema Cache: extract deduplication commonalityKasper Timm Hansen2019-06-211-10/+15
* | Also deduplicate schema cache data when using the init_with interfaceJean Boussier2019-06-211-6/+6
* | 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-203-3/+4
|/ /
* | 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
* | | Merge pull request #36518 from Shopify/drop-schema-cache-column-hashKasper Timm Hansen2019-06-191-8/+5
|\ \ \
| * | | Stop serializing and parsing columns_hash in Active Record schema cachesJean Boussier2019-06-191-8/+5
| |/ /
* / / Better error message for calling columns_hashGuilherme Mansur2019-06-194-0/+19
|/ /
* | Merge pull request #35891 from Shopify/schema-cache-deduplicationKasper Timm Hansen2019-06-1912-16/+123
|\ \
| * | Deduplicate various Active Record schema cache structuresJean Boussier2019-06-0312-16/+123
* | | Avoid redundant `time.getutc` call if it is already utc time objectRyuta Kamizono2019-06-181-5/+5
* | | PostgreSQL: Fix GROUP BY with ORDER BY virtual count attributeRyuta Kamizono2019-06-175-12/+30
* | | Remove unused `Arel::Attributes.for`Ryuta Kamizono2019-06-154-70/+1
* | | No allocation `Arel::Visitors::ToSql#visit`Ryuta Kamizono2019-06-154-33/+34
* | | 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-148-49/+111
* | | Merge pull request #36439 from eileencodes/move-schema-migration-to-migration...Eileen M. Uchitelle2019-06-1415-146/+407
|\ \ \
| * | | Move SchemaMigration to migration_contexteileencodes2019-06-1415-146/+407
* | | | Merge pull request #36484 from albertoalmagro/alberto/reverse-column-is-rever...Ryuta Kamizono2019-06-141-3/+3
|\ \ \ \ | |/ / / |/| | |
| * | | [ci skip] Update docs as `remove_column` can be reversedAlberto Almagro2019-06-141-3/+3
* | | | Fix rubocop violationsRyuta Kamizono2019-06-141-2/+2
* | | | Allocation on demand in transactionsRyuta Kamizono2019-06-141-20/+35
|/ / /
* | | Make ActiveRecord `ConnectionPool.connections` thread-safe. (#36473)jeffdoering2019-06-133-1/+44
* | | 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-13151-178/+1
|\ \ \
| * | | Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-13151-178/+1
* | | | Remove duplicated `table_exists?`Ryuta Kamizono2019-06-132-8/+0
* | | | Clear schema cache when a table is created/dropped/renamedRyuta Kamizono2019-06-136-4/+18
|/ / /
* | | Merge pull request #36440 from malept/multi-db-abort_if_pending_migrations-taskEileen M. Uchitelle2019-06-112-1/+29
|\ \ \
| * | | Convert the db:abort_if_pending_migrations task to be multi-DB awareMark Lee2019-06-102-1/+29
* | | | Merge pull request #36448 from kamipo/allow_column_name_with_simple_function_...Ryuta Kamizono2019-06-117-42/+67
|\ \ \ \ | |/ / / |/| | |
| * | | Allow column name with function (e.g. `length(title)`) as safe SQL stringRyuta Kamizono2019-06-107-42/+67
* | | | All modern adapters returns a numeric value as the result of numeric calculationRyuta Kamizono2019-06-112-10/+2
|/ / /