aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* When verifying size of relation, also verify count is ok.Vipul A M2016-01-251-0/+1
* Merge pull request #23221 from vipulnsward/23209-fix-missin_source_typeRafael França2016-01-245-0/+21
|\
| * Add missing source_type if provided on hmt which belongs to an sti recordVipul A M2016-01-245-0/+21
* | Fix AR::Relation#cache_key to remove select scope added by userPrathamesh Sonpatki2016-01-241-0/+6
* | Merge pull request #23081 from prathamesh-sonpatki/fix-cache-key-for-queries-...Kasper Timm Hansen2016-01-241-0/+5
|\ \
| * | Fix ActiveRecord::Relation#cache_key for relations with no resultsPrathamesh Sonpatki2016-01-221-0/+5
* | | Pare back default `index` option for the migration generatorPrathamesh Sonpatki2016-01-244-11/+29
| |/ |/|
* | Use the database type to deserialize enumSean Griffin2016-01-233-0/+12
|/
* Merge pull request #23080 from prathamesh-sonpatki/fix-cache-key-for-loaded-e...Matthew Draper2016-01-221-0/+8
|\
| * Fix ActiveRecord::Relation#cache_key for loaded empty collectionPrathamesh Sonpatki2016-01-161-0/+8
* | Fix test failure on PostgreSQL by sorting the result before comparisonPrathamesh Sonpatki2016-01-191-4/+5
* | run `type` column through attribtues API type casting.Yves Senn2016-01-191-0/+75
* | Changed options for find_each and variants to have options start/finish inste...Vipul A M2016-01-181-33/+12
* | Merge pull request #20005 from kamipo/default_expression_supportRafael França2016-01-164-24/+54
|\ \
| * | Fix extract default with CURRENT_TIMESTUMPRyuta Kamizono2016-01-132-0/+18
| * | Add expression support on the schema defaultRyuta Kamizono2016-01-133-24/+36
* | | Merge pull request #23067 from kamipo/sql_for_insert_returns_values_for_passi...Rafael França2016-01-161-2/+2
|\ \ \ | |_|/ |/| |
| * | `sql_for_insert` returns values for passing to `exec_insert`Ryuta Kamizono2016-01-151-2/+2
* | | Fix intermittent test failuresschneems2016-01-141-0/+1
* | | Revert "Revert "Set environment even when no migration runs""schneems2016-01-141-1/+28
|/ /
* | Revert "Set environment even when no migration runs"Sean Griffin2016-01-141-28/+1
* | Revert "Merge pull request #20835 from glittershark/if-and-unless-in-secure-t...Kasper Timm Hansen2016-01-143-18/+0
* | Merge pull request #23048 from kamipo/substitute_at_is_no_longer_usedSean Griffin2016-01-143-11/+1
|\ \
| * | `substitute_at` is no longer usedRyuta Kamizono2016-01-143-11/+1
| |/
* | Properly include the `from` clause when merging relationsSean Griffin2016-01-141-0/+7
* | Merge pull request #23017 from schneems/schneems/migration-sets-environment-v...Richard Schneeman2016-01-141-1/+28
|\ \ | |/ |/|
| * Set environment even when no migration runsschneems2016-01-111-0/+27
| * Clean up duplicate migration logicschneems2016-01-111-1/+1
* | fix regression when loading fixture files with symbol keys.Yves Senn2016-01-132-0/+7
* | Improve error message for #or when it is structurally incompatibleRafael Mendonça França2016-01-131-1/+3
* | Revert "Change `WhereClause#merge` to same named columns on diff tables"Sean Griffin2016-01-121-15/+2
* | Change `WhereClause#merge` to same named columns on diff tablesSean Griffin2016-01-121-2/+15
* | Skip the STI condition when evaluating a default scopeMatthew Draper2016-01-122-0/+21
* | Active scopes apply to child classes, though not parents/siblingsMatthew Draper2016-01-122-5/+20
|/
* Extract `MySQL::TypeMetadata` class to `connection_adapters/mysql/type_metada...Ryuta Kamizono2016-01-111-1/+1
* Extract `MySQL::Column` class to `connection_adapters/mysql/column.rb`Ryuta Kamizono2016-01-111-10/+10
* Split out token `if` tests to trigger `before_create`.Kasper Timm Hansen2016-01-091-1/+5
* Add conditional_token to users.Kasper Timm Hansen2016-01-091-0/+1
* Support :if and :unless in has_secure_tokenGriffin Smith2016-01-092-0/+13
* Merge pull request #22976 from schneems/schneems/schema-migration-primary-keySean Griffin2016-01-081-2/+2
|\
| * Get update_attributes working with SchemaMigrationschneems2016-01-081-2/+2
* | Refactor tz aware types, add support for PG rangesSean Griffin2016-01-081-0/+42
* | Merge pull request #22967 from schneems/schneems/generic-metadataSean Griffin2016-01-083-0/+76
|\ \ | |/ |/|
| * Fixing tests and re-locating error checking.schneems2016-01-081-4/+4
| * Use hash like syntax for InternalMetadataschneems2016-01-082-3/+3
| * Prevent destructive action on production databaseschneems2016-01-073-0/+76
* | fix remove_index for postgresql when running legacy migrationsLachlan Sylvester2016-01-061-0/+16
* | Merge pull request #21688 from kamipo/add_text_and_blob_shorthand_methodsRafael Mendonça França2016-01-061-10/+10
|\ \
| * | Add short-hand methods for text and blob types in MySQLRyuta Kamizono2016-01-051-10/+10
* | | Merge pull request #22920 from kamipo/fix_connection_createRafael França2016-01-051-3/+12
|\ \ \ | |/ / |/| |