aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
...
* | | 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
|/ / /
* | | Allow `column_name AS alias` as safe SQL stringRyuta Kamizono2019-06-105-0/+14
* | | 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
* | | 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-072-1/+8
|\ \ \
| * | | Fix preloading on AR::Relation where records are duplicated by a joinBogdan Gusiev2019-06-062-1/+8
* | | | 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-0610-68/+166
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-0610-68/+166
* | | | | Move schema cache from connection to pooleileencodes2019-06-056-7/+33
|/ / / /
* | | | Merge pull request #36416 from freeletics/fix-db-prepareEileen M. Uchitelle2019-06-052-19/+49
|\ \ \ \
| * | | | Fixed db:prepare task for multiple databases.Wojciech Wnętrzak2019-06-052-19/+49
* | | | | Merge pull request #36394 from eileencodes/treat-application-record-as-primaryEileen M. Uchitelle2019-06-052-2/+19
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Treat ActiveRecord::Base and ApplicationRecord as "primary"eileencodes2019-06-052-2/+19
| |/ / /
* | | | Unify to use 4 spaces indentation in CHANGELOGs [ci skip]Ryuta Kamizono2019-06-051-4/+5
* | | | Fix sqlite3 collation parsing when using decimal columns.Martin Schuster2019-06-043-2/+15
|/ / /
* | | Merge pull request #36384 from guigs/fix-invalid-schema-when-pk-column-has-co...Ryuta Kamizono2019-06-033-2/+28
|\ \ \ | |/ / |/| |
| * | Fix invalid schema dump when primary key column has a commentGuilherme Goettems Schneider2019-06-033-2/+28
* | | Refactor `create_table`'s options separationRyuta Kamizono2019-06-032-12/+11
* | | Merge pull request #36375 from kamipo/fast_saveRyuta Kamizono2019-06-021-16/+26
|\ \ \
| * | | Avoid making extra 5 arrays in each `save`Ryuta Kamizono2019-06-011-16/+26
| |/ /
* / / 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-313-1/+10
* | Address intermittent CI failure due to non-determined sort orderRyuta Kamizono2019-05-301-6/+7
* | Remove wrong default value for `cache_versioning` in documentation of `cache_...Sebastian Röder2019-05-291-1/+1