aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | Fixing issue with activerecord serialization not being able to dump a record ...Mauricio Linhares2014-01-291-0/+23
| |/ / /
| * | | Merge pull request #13201 from marcandre/find_in_batch_enumeratorRafael Mendonça França2014-01-291-0/+13
| |\ \ \
| | * | | `find_in_batches` now returns an `Enumerator` when called without a block, so...Marc-Andre Lafortune2013-12-061-0/+13
| * | | | `enum` now raises on "dangerous" name conflictsGodfrey Chan2014-01-291-0/+59
| * | | | `scope` now raises on "dangerous" name conflictsGodfrey Chan2014-01-291-0/+57
| * | | | Fixed a bug in AR::Base#respond_to?Godfrey Chan2014-01-291-0/+5
| * | | | Correctly send the string given to lock! and reload(:lock) to the lock scope ...Mauricio Linhares2014-01-291-0/+11
| * | | | Handle aliased attributes in AR::Relation#select, #order, etc.Tsutomu Kuroda2014-01-292-0/+35
| * | | | Fix indent on test case [ci skip]Carlos Antonio da Silva2014-01-281-2/+2
| * | | | use the new clear_validators! api everywhere to reset validators in testsKuldeep Aggarwal2014-01-282-3/+3
| * | | | Merge pull request #13785 from kuldeepaggarwal/fix-find_with_multiple_idsYves Senn2014-01-241-7/+24
| |\ \ \ \
| | * | | | Fix `ActiveRecord::RecordNotFound` error message with custom primary keyKuldeep Aggarwal2014-01-251-7/+24
| * | | | | Remove unused assignment to fix warnings in enum test.Vipul A M2014-01-241-1/+0
| |/ / / /
| * | | | Calling reset on a collection association should unload the assocationKelsey Schlarman2014-01-211-0/+9
| * | | | Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-216-72/+109
| * | | | Merge pull request #13776 from rails/dirty-enumRafael Mendonça França2014-01-213-0/+74
| |\ \ \ \
| | * | | | Add more tests for the dirty feature for enumsRafael Mendonça França2014-01-213-0/+34
| | * | | | Make enum feature work with dirty methodsRafael Mendonça França2014-01-211-0/+40
| * | | | | `has_one` and `belongs_to` accessors don't add ORDER BY to the queries anymore.Rafael Mendonça França2014-01-212-0/+14
| * | | | | prepend table name for `Relation#select` columns.Yves Senn2014-01-211-0/+6
| * | | | | Fail early with "Primary key not included in the custom select clause" in fin...Alexander Balashov2014-01-211-1/+3
| |/ / / /
| * | | | Ensure #second acts like #first AR finderJason Meller2014-01-206-26/+123
| * | | | 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
* | | | | | Merge branch 'master' into adequaterecordAaron Patterson2014-01-171-0/+6
|\| | | | |
| * | | | | test to ensure bad prepared statements raise a StatementInvalid exceptionAaron Patterson2014-01-171-0/+6
| |/ / / /
* | | | | fixing explain tests for sqlite3Aaron Patterson2014-01-171-13/+13
* | | | | Merge branch 'master' into adequaterecordAaron Patterson2014-01-172-176/+153
|\| | | |
| * | | | 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
* | | | | change query strategy based on adapterAaron Patterson2014-01-161-1/+0
* | | | | 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