aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #36637 from Shopify/share-quote-cacheRyuta Kamizono2019-07-114-7/+14
|\
| * Share the column and table name quote cache between connectionsJean Boussier2019-07-094-7/+14
* | Merge pull request #36618 from engwan/fix-query-cache-with-shared-ar-connectionEileen M. Uchitelle2019-07-102-5/+9
|\ \ | |/ |/|
| * Fix query cache when using shared connectionsHeinrich Lee Yu2019-07-082-5/+9
* | Merge pull request #36612 from y-yagi/make_setup_works_when_using_with_locale...Yuji Yaginuma2019-07-091-1/+1
|\ \
| * | Make "bin/setup" works when using PostgreSQL with locales other than en localeyuuji.yaginuma2019-07-071-1/+1
| |/
* | Merge branch 'master' into add_database_exist_methodGuillermo Iguaran2019-07-0821-37/+176
|\ \
| * | When DATABASE_URL is specified don't trample envs that use a url: keyWill Jessop2019-07-081-5/+5
| * | Do not use aliases in GROUP BY clauseRyuta Kamizono2019-07-081-1/+1
| |/
| * MySQL: Fix schema dumping `enum` and `set` columns correctlyRyuta Kamizono2019-07-052-2/+8
| * 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
| * Fix broken url configseileencodes2019-06-271-1/+1
| * Load initial database.yml once, and warn if we can't create taskseileencodes2019-06-272-9/+20
| * Merge pull request #36210 from vishaltelangre/raise-record-invalid-when-assoc...Rafael França2019-06-241-1/+1
| |\
| | * Fix: ActiveRecord::RecordInvalid is not raised when an associated record fail...Vishal Telangre2019-05-101-1/+1
| * | 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
| * | Revert schema dumper to use strings rather than integerseileencodes2019-06-202-3/+3
| * | 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-192-0/+7
| |/ /
| * | Merge pull request #35891 from Shopify/schema-cache-deduplicationKasper Timm Hansen2019-06-198-2/+105
| |\ \
| | * | Deduplicate various Active Record schema cache structuresJean Boussier2019-06-038-2/+105
| * | | Avoid redundant `time.getutc` call if it is already utc time objectRyuta Kamizono2019-06-181-5/+5
* | | | Add database_exists? method to connection adaptersGuilherme Mansur2019-06-174-0/+27
|/ / /
* | | PostgreSQL: Fix GROUP BY with ORDER BY virtual count attributeRyuta Kamizono2019-06-171-10/+15
* | | Remove unused `Arel::Attributes.for`Ryuta Kamizono2019-06-153-29/+1
* | | No allocation `Arel::Visitors::ToSql#visit`Ryuta Kamizono2019-06-154-33/+34
* | | Move while_preventing_writes from conn to handlereileencodes2019-06-143-17/+19
* | | Merge pull request #36439 from eileencodes/move-schema-migration-to-migration...Eileen M. Uchitelle2019-06-146-32/+52
|\ \ \
| * | | Move SchemaMigration to migration_contexteileencodes2019-06-146-32/+52
* | | | 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
* | | | Allocation on demand in transactionsRyuta Kamizono2019-06-141-20/+35
|/ / /
* | | Make ActiveRecord `ConnectionPool.connections` thread-safe. (#36473)jeffdoering2019-06-131-1/+16
* | | Merge pull request #36472 from kamipo/empty_line_only_before_access_modifierRyuta Kamizono2019-06-13100-122/+0
|\ \ \
| * | | Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-13100-122/+0
* | | | Remove duplicated `table_exists?`Ryuta Kamizono2019-06-132-8/+0
* | | | Clear schema cache when a table is created/dropped/renamedRyuta Kamizono2019-06-134-0/+11
|/ / /
* | | Merge pull request #36440 from malept/multi-db-abort_if_pending_migrations-taskEileen M. Uchitelle2019-06-111-1/+25
|\ \ \
| * | | Convert the db:abort_if_pending_migrations task to be multi-DB awareMark Lee2019-06-101-1/+25
* | | | Allow column name with function (e.g. `length(title)`) as safe SQL stringRyuta Kamizono2019-06-104-8/+32
|/ / /
* | | Allow `column_name AS alias` as safe SQL stringRyuta Kamizono2019-06-104-0/+4
* | | Refactor `disallow_raw_sql!` to avoid `split(/\s*,\s*/)` to order argsRyuta Kamizono2019-06-096-21/+56
* | | Add forgotten nodoc to dump_schema method.Wojciech Wnętrzak2019-06-071-1/+1
* | | Merge pull request #36429 from bogdan/fix-preloading-duplicate-recordsRyuta Kamizono2019-06-071-1/+3
|\ \ \
| * | | Fix preloading on AR::Relation where records are duplicated by a joinBogdan Gusiev2019-06-061-1/+3
* | | | Merge pull request #36420 from kamipo/quoted_identifier_regexRyuta Kamizono2019-06-067-61/+137
|\ \ \ \
| * | | | Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-067-61/+137