aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #23345 from yui-knk/warning_when_composite_primary_key_is_...Rafael França2016-01-301-0/+7
|\
| * Warn if `AR.primary_key` is called for a table who has composite primary keyyui-knk2016-01-301-0/+7
* | Merge pull request #23355 from kamipo/fix_bigint_for_enum_columnsRafael França2016-01-301-0/+5
|\ \
| * | Fix `bigint?` for Enum columns in MySQLRyuta Kamizono2016-01-311-0/+5
| |/
* / There is no need to define test if a connection does not support primary_keyyui-knk2016-01-311-11/+9
|/
* Reworked ActiveRecord::Relation#last to always use SQLBogdan Gusiev2016-01-281-9/+23
* Merge pull request #18928 from bogdan/unreversable-orderSean Griffin2016-01-271-0/+34
|\
| * Introduce ActiveRecord::IrreversibleOrderErrorBogdan Gusiev2016-01-271-0/+34
* | Do not use default attributes for STI when instantiating a subclassSean Griffin2016-01-271-0/+4
|/
* Merge branch '5-0-beta-sec'Aaron Patterson2016-01-251-0/+13
|\
| * Don't short-circuit reject_if procAndrew White2016-01-221-0/+13
* | Merge pull request #23161 from schneems/schneems/fix-mysql-internalmetadataRichard Schneeman2016-01-251-7/+29
|\ \
| * | [close #23009] Limit key lengthschneems2016-01-211-7/+29
* | | 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-241-0/+9
|\ \ \
| * | | Add missing source_type if provided on hmt which belongs to an sti recordVipul A M2016-01-241-0/+9
* | | | 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-231-0/+10
|/ / /
* | | 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-162-4/+30
|\ \ \
| * | | Fix extract default with CURRENT_TIMESTUMPRyuta Kamizono2016-01-131-0/+11
| * | | Add expression support on the schema defaultRyuta Kamizono2016-01-132-4/+19
* | | | 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-141-14/+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-131-0/+4
* | | 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-121-0/+14
* | | 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