aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* 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
* Update deprecation warning to give more information about callerT.J. Schuck2014-01-161-2/+2
* Make AR::Base#touch fire the after_commit and after_rollback callbacksHarry Brundage2014-01-165-2/+71
* 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
* Get rid of unused TransactionError constantCarlos Antonio da Silva2014-01-151-3/+0
* Avoid converting :on option to array twice when defining commit/rollback call...Carlos Antonio da Silva2014-01-151-3/+2
* rm dup codeAaron Patterson2014-01-141-13/+0
* directly create the ARel ASTAaron Patterson2014-01-141-6/+4
* Updated comment to mention the enum mapping class method [ci skip]Godfrey Chan2014-01-141-2/+3
* "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-143-1/+25
* Don't try to get the subclass if the inheritance column doesn't existUjjwal Thaakar2014-01-145-8/+42
* Enum mappings are now exposed via class methods instead of constants.Godfrey Chan2014-01-143-10/+31
* quick pass through Active Record CHANGELOG. [ci skip]Yves Senn2014-01-141-7/+9
* Merge pull request #13669 from chulkilee/name-error-nameYves Senn2014-01-143-2/+8
|\
| * Set NameError#nameChulki Lee2014-01-133-2/+8
* | unscope should remove bind values associated with the whereAaron Patterson2014-01-132-0/+11
* | reverse_order_value= is not private, so no need to sendAaron Patterson2014-01-131-1/+1
* | avoid more dynamic symbolsAaron Patterson2014-01-131-1/+1
* | no need to to_symAaron Patterson2014-01-131-2/+2
* | 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-133-1/+22
* use enum labels as form values. Achieved by `_before_type_cast`.Yves Senn2014-01-112-0/+7
* doc, API example on how to use `Model#exists?` with multiple IDs. [ci skip]Yves Senn2014-01-101-0/+1
* Restore DATABASE_URL even if it's nil in connection_handler testPrathamesh Sonpatki2014-01-101-1/+1
* Merge pull request #13582 from schneems/schneems/preserve-connection-behaviorRafael Mendonça França2014-01-097-22/+268
|\
| * Ensure Active Record connection consistencyschneems2014-01-097-22/+268
* | Revert "ask the fixture set for the sql statements"Aaron Patterson2014-01-092-17/+11
|/
* Minor typos fix [ci skip]Robin Dupret2014-01-081-3/+3
* make `change_column_null` reversible. Closes #13576.Yves Senn2014-01-083-1/+26
* create/drop test and development databases only if RAILS_ENV is nilDamien Mathieu2014-01-084-5/+38
* Merge pull request #13355 from dylanahsmith/migration-versionRafael Mendonça França2014-01-074-1/+19
|\
| * activerecord: Initialize Migration with version from MigrationProxy.Dylan Thacker-Smith2014-01-064-1/+18
* | Make change_table use object of current database adapterNishant Modak2014-01-076-15/+43
* | Remove warnings in test suiteMatthias Zirnstein2014-01-061-1/+1
|/
* Merge pull request #13593 from oliveiraethales/store_yaml_coderYves Senn2014-01-065-1/+14
|\
| * Fix: ActiveRecord::Store TypeError conversion when using YAML coderThales Oliveira2014-01-065-1/+14