aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
...
* | | 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-1386-108/+0
|\ \ \
| * | | Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-1386-108/+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
* | | | | Move schema cache from connection to pooleileencodes2019-06-055-6/+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-051-2/+6
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Treat ActiveRecord::Base and ApplicationRecord as "primary"eileencodes2019-06-051-2/+6
| |/ / /
* / / / Fix sqlite3 collation parsing when using decimal columns.Martin Schuster2019-06-041-2/+2
|/ / /
* | | Merge pull request #36384 from guigs/fix-invalid-schema-when-pk-column-has-co...Ryuta Kamizono2019-06-031-1/+1
|\ \ \ | |/ / |/| |
| * | Fix invalid schema dump when primary key column has a commentGuilherme Goettems Schneider2019-06-031-1/+1
* | | Refactor `create_table`'s options separationRyuta Kamizono2019-06-032-12/+11
* | | Avoid making extra 5 arrays in each `save`Ryuta Kamizono2019-06-011-16/+26
|/ /
* | Fix table comment also being applied to the primary key columnGuilherme Goettems Schneider2019-05-311-1/+1
* | Remove wrong default value for `cache_versioning` in documentation of `cache_...Sebastian Röder2019-05-291-1/+1
* | `:datetime` and `:time` columns allows `:precision` option [ci skip]Ryuta Kamizono2019-05-281-2/+3
* | Merge pull request #36350 from kamipo/fast_pluckRyuta Kamizono2019-05-281-3/+5
|\ \
| * | Allow symbol (i.e. quoted identifier) as safe SQL stringRyuta Kamizono2019-05-281-3/+5
* | | Use WeakRef to avoid leaking connection poolsJohn Hawthorn2019-05-271-11/+21
|/ /
* | Extract `readonly_attribute?`Ryuta Kamizono2019-05-273-6/+6
* | Merge pull request #36320 from XrXr/no-doc-prependRafael França2019-05-211-1/+1
|\ \
| * | Put :nodoc: on method that raises NoMethodErrorAlan Wu2019-05-211-1/+1
* | | Put all `explain` methods into `DatabaseStatements` moduleRyuta Kamizono2019-05-224-18/+14
* | | Fall back to type casting from the connection adapterRyuta Kamizono2019-05-212-20/+22
* | | Implicit through table joins should be appeared before user supplied joinsRyuta Kamizono2019-05-191-17/+11
* | | Merge pull request #36296 from jhawthorn/dont_fear_the_reaperAaron Patterson2019-05-181-7/+25
|\ \ \
| * | | Use a single thread for all ConnectionPool ReapersJohn Hawthorn2019-05-171-7/+25
| | |/ | |/|
* | | Merge pull request #36284 from kamipo/fix_eager_loading_with_string_joinsRyuta Kamizono2019-05-151-2/+11
|\ \ \
| * | | Fix eager loading associations with string joins not to raise NoMethodErrorRyuta Kamizono2019-05-151-2/+11
* | | | Don't track implicit `touch` mutationRyuta Kamizono2019-05-132-1/+7
* | | | Merge pull request #36255 from eugeneius/sqlite_savepoint_supportKasper Timm Hansen2019-05-124-7/+5
|\ \ \ \
| * | | | Remove SQLite version support caveats [ci skip]Eugene Kenny2019-05-124-7/+5
| | |/ / | |/| |
* | | | Merge pull request #36073 from itsWill/document_update_counters_on_relationRyuta Kamizono2019-05-121-1/+13
|\ \ \ \ | |/ / / |/| | |