aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Ensure #second acts like #first AR finderJason Meller2014-01-205-26/+116
* Merge pull request #13745 from nextgearcapital/masterRafael Mendonça França2014-01-192-0/+4
|\
| * set encoding to binmode for pipeAnna Carey2014-01-172-0/+4
* | Restore ActiveRecord states after a rollback for models w/o callbacksGodfrey Chan2014-01-181-0/+11
* | test to ensure bad prepared statements raise a StatementInvalid exceptionAaron Patterson2014-01-171-0/+6
|/
* Extract a method to simplify setup codeCarlos Antonio da Silva2014-01-161-23/+27
* Use minitest's skip rather than conditionals + early returnsCarlos Antonio da Silva2014-01-161-47/+38
* Move AR test classes inside the test caseCarlos Antonio da Silva2014-01-161-38/+46
* Do not set up a variable used only in two testsCarlos Antonio da Silva2014-01-161-15/+18
* No need for instance vars on single testsCarlos Antonio da Silva2014-01-161-8/+8
* Cleanup duplicated setup of callbacks in transactions testsCarlos Antonio da Silva2014-01-161-48/+19
* No need to use #send with public methodsCarlos Antonio da Silva2014-01-161-10/+10
* Make AR::Base#touch fire the after_commit and after_rollback callbacksHarry Brundage2014-01-161-1/+46
* 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
* rm dup codeAaron Patterson2014-01-141-13/+0
* "string" isn't a valid column type for ActiveRecordAaron Patterson2014-01-141-1/+1
* 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-141-1/+8
* 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
* | 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
* 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-071-0/+4
|\
| * activerecord: Initialize Migration with version from MigrationProxy.Dylan Thacker-Smith2014-01-061-0/+4
* | Make change_table use object of current database adapterNishant Modak2014-01-072-1/+19
|/
* Fix: ActiveRecord::Store TypeError conversion when using YAML coderThales Oliveira2014-01-061-0/+4
* Remove method redefined warnings for test suiteMatthias Zirnstein2014-01-051-1/+1
* Change all "can not"s to the correct "cannot".T.J. Schuck2014-01-031-2/+2
* Merge pull request #10134 from derikson/collection_proxy_select_with_multiple...Rafael Mendonça França2014-01-031-1/+5
|\
| * Changed ActiveRecord::Associations::CollectionProxy#select to take multiple a...Dan Erikson2013-04-081-1/+5
* | Building new records with enum scopes now works as expectedGodfrey Chan2014-01-031-6/+7
* | Merge pull request #13542 from robin850/issue-13530Rafael Mendonça França2014-01-011-1/+10
|\ \
| * | Fix the enums writer methodsRobin Dupret2014-01-011-1/+10
* | | Add CHANGELOG entry for #13557 [ci skip]Rafael Mendonça França2014-01-011-1/+0
* | | Merge pull request #13557 from gmarik/patch-1Rafael Mendonça França2014-01-011-0/+17
|\ \ \
| * | | add test casegmarik2013-12-311-0/+17