aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Reworked ActiveRecord::Relation#last to always use SQLBogdan Gusiev2016-01-281-22/+17
* Merge pull request #23307 from mgrachev/fix-schema-migrationsEileen M. Uchitelle2016-01-281-1/+1
|\
| * Fix a bug with initialize schema_migrations tableMikhail Grachev2016-01-281-1/+1
* | Merge pull request #23303 from Empact/find-nth-deprecationRafael França2016-01-281-11/+10
|\ \ | |/ |/|
| * Consistently warn that passing an offset to `find_nth` is deprecatedBen Woosley2016-01-271-11/+10
* | Merge pull request #18928 from bogdan/unreversable-orderSean Griffin2016-01-272-2/+21
|\ \
| * | Introduce ActiveRecord::IrreversibleOrderErrorBogdan Gusiev2016-01-272-2/+21
* | | Do not use default attributes for STI when instantiating a subclassSean Griffin2016-01-271-1/+5
* | | Merge pull request #21791 from sonalkr132/persistence-docArthur Nogueira Neves2016-01-271-8/+9
|\ \ \ | |/ / |/| |
| * | Improvement in ActiveRecord::Persistence doc [ci skip]Aditya Prakash2015-10-171-8/+9
* | | INSERT INTO schema_migrations in 1 SQLAkira Matsuda & Naoto Koshikawa2016-01-271-10/+8
* | | Merge pull request #23256 from pauloancheta/masterRafael França2016-01-261-1/+1
|\ \ \
| * | | reflect mapping to match initializePaulo Ancheta2016-01-251-1/+1
* | | | Merge branch '5-0-beta-sec'Aaron Patterson2016-01-255-7/+17
|\ \ \ \
| * | | | bumping versionAaron Patterson2016-01-251-1/+1
| * | | | Eliminate instance level writers for class accessorsAaron Patterson2016-01-223-4/+4
| * | | | Don't short-circuit reject_if procAndrew White2016-01-221-2/+12
* | | | | Merge pull request #23161 from schneems/schneems/fix-mysql-internalmetadataRichard Schneeman2016-01-251-2/+7
|\ \ \ \ \
| * | | | | [close #23009] Limit key lengthschneems2016-01-211-2/+7
* | | | | | Merge pull request #23221 from vipulnsward/23209-fix-missin_source_typeRafael França2016-01-241-0/+5
|\ \ \ \ \ \
| * | | | | | Add missing source_type if provided on hmt which belongs to an sti recordVipul A M2016-01-241-0/+5
* | | | | | | Fix AR::Relation#cache_key to remove select scope added by userPrathamesh Sonpatki2016-01-241-0/+1
* | | | | | | Merge pull request #23081 from prathamesh-sonpatki/fix-cache-key-for-queries-...Kasper Timm Hansen2016-01-241-2/+8
|\ \ \ \ \ \ \
| * | | | | | | Fix ActiveRecord::Relation#cache_key for relations with no resultsPrathamesh Sonpatki2016-01-221-2/+8
* | | | | | | | Pare back default `index` option for the migration generatorPrathamesh Sonpatki2016-01-242-1/+13
| |/ / / / / / |/| | | | | |
* | | | | | | Add environment back to db:structure:loadAndrew White2016-01-231-1/+1
* | | | | | | Merge pull request #23102 from yui-knk/foreign_type_to_singular_associationEileen M. Uchitelle2016-01-233-3/+3
|\ \ \ \ \ \ \
| * | | | | | | Define `:foreign_type` as a valid option in `SingularAssociation`yui-knk2016-01-193-3/+3
* | | | | | | | Use the database type to deserialize enumSean Griffin2016-01-231-4/+7
* | | | | | | | [ci skip] Add note about tsrange and timezone awareness to docspalkan2016-01-221-1/+5
| |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #23080 from prathamesh-sonpatki/fix-cache-key-for-loaded-e...Matthew Draper2016-01-221-1/+3
|\ \ \ \ \ \ \
| * | | | | | | Fix ActiveRecord::Relation#cache_key for loaded empty collectionPrathamesh Sonpatki2016-01-161-1/+3
* | | | | | | | Use bind parameters for ranges in where clausesSean Griffin2016-01-212-2/+36
| |_|/ / / / / |/| | | | | |
* | | | | | | Fix the API documentation layout of after_*_commitGenadi Samokovarov2016-01-201-3/+3
* | | | | | | Pluralize counter_cache column name in example [ci skip]Amit Thawait2016-01-201-4/+4
* | | | | | | Add `ModelSchema::type_for_attribute` to the public APISean Griffin2016-01-191-1/+12
* | | | | | | run `type` column through attribtues API type casting.Yves Senn2016-01-191-0/+1
* | | | | | | refer to rails command instead of rake in environment erroryuuji.yaginuma2016-01-191-2/+2
* | | | | | | Changed options for find_each and variants to have options start/finish inste...Vipul A M2016-01-182-47/+32
| |/ / / / / |/| | | | |
* | | | | | Merge pull request #20005 from kamipo/default_expression_supportRafael França2016-01-166-20/+36
|\ \ \ \ \ \
| * | | | | | Fix extract default with CURRENT_TIMESTUMPRyuta Kamizono2016-01-131-2/+6
| * | | | | | Fix extract default with CURRENT_DATERyuta Kamizono2016-01-131-3/+8
| * | | | | | Add expression support on the schema defaultRyuta Kamizono2016-01-134-15/+22
* | | | | | | Merge pull request #23067 from kamipo/sql_for_insert_returns_values_for_passi...Rafael França2016-01-162-22/+14
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | `sql_for_insert` returns values for passing to `exec_insert`Ryuta Kamizono2016-01-152-22/+14
* | | | | | | Merge pull request #23060 from schneems/schneems/revert-revert-migration-set-...Richard Schneeman2016-01-151-18/+30
|\ \ \ \ \ \ \
| * | | | | | | Revert "Revert "Set environment even when no migration runs""schneems2016-01-141-18/+30
| |/ / / / / /
* | | | | | | Merge pull request #23065 from kamipo/clean_up_internal_metadata_definitionRichard Schneeman2016-01-152-4/+3
|\ \ \ \ \ \ \
| * | | | | | | Clean up internal metadata definitionRyuta Kamizono2016-01-152-4/+3
* | | | | | | | `last_insert_id_value` and `last_insert_id` are unused anymoreRyuta Kamizono2016-01-151-9/+1
| |/ / / / / / |/| | | | | |