aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' into adequaterecordAaron Patterson2014-01-1612-54/+117
|\
| * Make AR::Base#touch fire the after_commit and after_rollback callbacksHarry Brundage2014-01-163-2/+63
| * Fix test for cache_key + touchedCarlos Antonio da Silva2014-01-161-9/+9
| * reset column information after fiddling with `Encoding.default_internal`Yves Senn2014-01-161-0/+1
| * we have `with_env_tz` as global test helper. Remove duplicate.Yves Senn2014-01-162-14/+0
| * isolate class attribute assignment in `migration_test.rb`Yves Senn2014-01-161-22/+33
| * use `teardown` for cleanup, not `setup`.Yves Senn2014-01-161-5/+2
| * tests without transactional fixtures need to cleanup afterwards.Yves Senn2014-01-161-0/+7
| * no need to `return skip` in tests. `skip` is enough.Yves Senn2014-01-164-4/+4
* | use a params hash so we know what bind parameters are usedAaron Patterson2014-01-151-15/+16
* | some databases do not have bind params (mysql2) so take that in to accountAaron Patterson2014-01-141-2/+6
* | Merge branch 'master' into set_bindsAaron Patterson2014-01-142-15/+2
|\|
| * rm dup codeAaron Patterson2014-01-141-13/+0
| * "string" isn't a valid column type for ActiveRecordAaron Patterson2014-01-141-1/+1
* | test bind value equalityAaron Patterson2014-01-141-2/+2
* | match against bind valuesAaron Patterson2014-01-141-2/+2
* | fix statement cache executionAaron Patterson2014-01-141-7/+6
* | fix cache class interfaceAaron Patterson2014-01-141-17/+9
* | drop the dual encodings tableAaron Patterson2014-01-141-2/+2
* | `where` makes bind values, so stop manually creating themAaron Patterson2014-01-141-11/+3
* | switch to arrays for bind removal testAaron Patterson2014-01-141-4/+2
* | `where` creates binds, so do not create them manuallyAaron Patterson2014-01-141-2/+1
* | Merge branch 'master' into set_bindsAaron Patterson2014-01-147-20/+47
|\|
| * don't establish a new connection when testing with `sqlite3_mem`.Yves Senn2014-01-141-15/+21
| * sqlite >= 3.8.0 supports partial indexesCody Cutrer2014-01-141-0/+2
| * Don't try to get the subclass if the inheritance column doesn't existUjjwal Thaakar2014-01-143-1/+18
| * Enum mappings are now exposed via class methods instead of constants.Godfrey Chan2014-01-141-3/+3
| * Merge pull request #13669 from chulkilee/name-error-nameYves Senn2014-01-141-1/+3
| |\
| | * Set NameError#nameChulki Lee2014-01-131-1/+3
* | | remove dead codeAaron Patterson2014-01-141-3/+0
* | | adjust AST tests to respect bind valuesAaron Patterson2014-01-141-21/+61
* | | where uses bind values so we don't need to manually create themAaron Patterson2014-01-141-11/+3
* | | remove test that does not apply anymoreAaron Patterson2014-01-141-12/+1
* | | fix tests for explain plan + bindsAaron Patterson2014-01-132-3/+3
* | | Merge branch 'master' into set_bindsAaron Patterson2014-01-134-1/+25
|\| |
| * | unscope should remove bind values associated with the whereAaron Patterson2014-01-131-0/+9
| * | recover from test runs that leave the database in a bad stateAaron Patterson2014-01-131-1/+1
| |/
| * fix bug in becomes! when changing from base to subclass. Closes #13272.Yves Senn2014-01-131-0/+11
| * use enum labels as form values. Achieved by `_before_type_cast`.Yves Senn2014-01-111-0/+4
* | check bind parameter uniquenessAaron Patterson2014-01-131-1/+6
* | force table creationAaron Patterson2014-01-111-1/+1
* | Merge branch 'master' into set_bindsAaron Patterson2014-01-11179-4224/+5490
|\|
| * Restore DATABASE_URL even if it's nil in connection_handler testPrathamesh Sonpatki2014-01-101-1/+1
| * Ensure Active Record connection consistencyschneems2014-01-091-0/+127
| * make `change_column_null` reversible. Closes #13576.Yves Senn2014-01-081-0/+16
| * create/drop test and development databases only if RAILS_ENV is nilDamien Mathieu2014-01-081-2/+24
| * Merge pull request #13355 from dylanahsmith/migration-versionRafael Mendonça França2014-01-072-0/+12
| |\
| | * activerecord: Initialize Migration with version from MigrationProxy.Dylan Thacker-Smith2014-01-062-0/+12
| * | Make change_table use object of current database adapterNishant Modak2014-01-072-1/+19
| * | Remove warnings in test suiteMatthias Zirnstein2014-01-061-1/+1
| |/