aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* use the new clear_validators! api everywhere to reset validators in testsKuldeep Aggarwal2014-01-282-3/+3
* Display value when raising due to unscope() issuesWashington Luiz2014-01-271-1/+1
* Merge pull request #13785 from kuldeepaggarwal/fix-find_with_multiple_idsYves Senn2014-01-242-9/+26
|\
| * Fix `ActiveRecord::RecordNotFound` error message with custom primary keyKuldeep Aggarwal2014-01-252-9/+26
* | Remove unused assignment to fix warnings in enum test.Vipul A M2014-01-241-1/+0
* | Merge pull request #13799 from kbrock/better_dirtyJeremy Kemper2014-01-227-18/+49
|\ \ | |/ |/|
| * Move changed_attributes into dirty.rbKeenan Brock2014-01-226-16/+47
| * put core at the beginning so other classes can modify the behaviorKeenan Brock2014-01-222-2/+2
* | Merge pull request #13791 from kei-s/remove_duplicate_mergeCarlos Antonio da Silva2014-01-221-1/+0
|\ \
| * | Remove duplicate mergekei2014-01-221-1/+0
* | | Improve the CHANGELOG entry [ci skip]Rafael Mendonça França2014-01-221-2/+14
* | | Make CollectionProxy#reset return selfRafael Mendonça França2014-01-221-1/+2
* | | Calling reset on a collection association should unload the assocationKelsey Schlarman2014-01-213-0/+36
|/ /
* | Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-219-85/+168
* | Merge pull request #13776 from rails/dirty-enumRafael Mendonça França2014-01-216-4/+128
|\ \ | |/ |/|
| * Use string as keysRafael Mendonça França2014-01-211-2/+2
| * Store the enum values in the DEFINED_ENUM constantRafael Mendonça França2014-01-211-8/+8
| * Add more tests for the dirty feature for enumsRafael Mendonça França2014-01-215-8/+53
| * Make enum feature work with dirty methodsRafael Mendonça França2014-01-213-1/+76
| * Extract all attribute changed work to its own methodRafael Mendonça França2014-01-211-3/+7
* | add missing information for `id` field when used with `select` [ci skip]Kuldeep Aggarwal2014-01-221-1/+1
* | `has_one` and `belongs_to` accessors don't add ORDER BY to the queries anymore.Rafael Mendonça França2014-01-214-1/+26
* | prepend table name for `Relation#select` columns.Yves Senn2014-01-213-1/+20
* | Active Record changelog wording and formatting. [ci skip]Yves Senn2014-01-211-5/+6
* | Merge pull request #9969 from divineforest/fix-find-in-batchesYves Senn2014-01-213-6/+13
|\ \
| * | Fail early with "Primary key not included in the custom select clause" in fin...Alexander Balashov2014-01-213-6/+13
| |/
* / Remove missed usage of @first variableCarlos Antonio da Silva2014-01-211-1/+1
|/
* Remove unneded argumentRafael Mendonça França2014-01-201-2/+2
* Ensure #second acts like #first AR finderJason Meller2014-01-2010-34/+245
* 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-184-6/+26
* | fix exception translationAaron Patterson2014-01-172-3/+4
* | translate exceptions on prepared statement failureAaron Patterson2014-01-172-6/+13
* | 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
* 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