aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Adjust test value so that timezone has no effectAndrew White2014-02-071-1/+1
* Return sized enumerator from Batches#find_eachMarc-Andre Lafortune2014-02-052-0/+14
* Return sized enumerator from Batches#find_in_batchesMarc-Andre Lafortune2014-02-051-0/+10
* Strengthen test with different nb of rows and columnsMarc-Andre Lafortune2014-02-051-2/+4
* Merge pull request #13949 from vajrasky/fix_typo_column_definition_testYves Senn2014-02-051-2/+2
|\
| * Fixed typo in column_definition_test.rb.Vajrasky Kok2014-02-051-2/+2
* | docs, AR already auto-detects primary keys. Closes #13946. [ci skip]Yves Senn2014-02-052-3/+5
|/
* Merge pull request #13935 from arthurnn/fix_12566Rafael Mendonça França2014-02-041-0/+15
|\
| * Make sure transaction state resets after commitArthur Neves2014-02-031-0/+15
* | Merge pull request #13899 from Fortisque/kevin/active_record_HABTM_with_belon...Rafael Mendonça França2014-02-041-0/+10
|\ \ | |/ |/|
| * fix HABTM w/out primary key errors on destructionKevin Casey2014-02-021-0/+10
* | 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
|\ \ \