aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* pass `habtm :autosave` to underlying `hm:t` association. Closes #13923.Yves Senn2014-02-032-7/+27
* Remove warnings for already defined methodsRafael Mendonça França2014-02-011-1/+3
* Merge pull request #13688 from jbaudanza/psql-index-existsRafael Mendonça França2014-02-011-0/+12
|\
| * psql implementation of #index_name_exists?Jonathan Baudanza2014-01-161-0/+12
* | Fixes issue with parsing whitespace content back from database - fixes #13907Mauricio Linhares2014-02-011-0/+12
* | Merge pull request #13896 from laurocaetano/dangerous_association_namesCarlos Antonio da Silva2014-01-313-0/+30
|\ \
| * | Associations now raise `ArgumentError` on name conflicts.Lauro Caetano2014-01-313-0/+30
* | | Remove unused variable.Tim Fenney2014-01-311-1/+1
|/ /
* | Merge pull request #13859 from huoxito/let-it-goRafael Mendonça França2014-01-301-0/+10
|\ \
| * | Let `unscope` ignore non Arel scope.where_valuesWashington Luiz2014-01-301-0/+10
* | | Merge pull request #13886 from arthurnn/fix_relation_arelRafael Mendonça França2014-01-301-0/+23
|\ \ \ | |/ / |/| |
| * | Fix regression on `.select_*` methods.Arthur Neves2014-01-301-0/+23
* | | Remove automatic removal of Date/Time stubs after each test caseRafael Mendonça França2014-01-301-1/+5
* | | Merge pull request #13878 from marcandre/leave_my_options_aloneRafael Mendonça França2014-01-301-0/+6
|\ \ \ | |/ / |/| |
| * | find_in_batches should not mutate its argumentMarc-Andre Lafortune2014-01-291-0/+6
* | | AestheticRafael Mendonça França2014-01-291-6/+7
* | | 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
* | | | 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-163-2/+63