aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* make a singleton for AssociationScopeAaron Patterson2014-02-141-2/+1
* pass the association and connection to the scope methodAaron Patterson2014-02-141-2/+4
* remove unused fixtures from sqlite3 test casesRajarshi Das2014-02-141-1/+1
* Merge pull request #14034 from hdabrows/drop-correct-index-when-reverting-mig...Yves Senn2014-02-132-3/+31
|\
| * Drop the correct index after reverting a migrationHubert Dąbrowski2014-02-132-3/+31
* | tests are responsible to clean up afterwards.Yves Senn2014-02-131-82/+114
* | Terminate the backend ourselves on PG 9.2+Matthew Draper2014-02-121-19/+29
|/
* test case to illustrate current PostgreSQL composite behavior.Yves Senn2014-02-111-0/+42
* add activerecord test coverage for `sanitize_sql_array`Dmitry Polushkin2014-02-091-0/+5
* Merge pull request #13981 from Fortisque/kevin/postgresql_reaper_threadsafeAaron Patterson2014-02-082-2/+2
|\
| * Reaper has access to threadsafe active? callKevin Casey2014-02-082-2/+2
* | Merge pull request #13978 from Fortisque/kevin/validation_context_for_childrenAaron Patterson2014-02-083-0/+26
|\ \
| * | context in validation goes through has many relationshipKevin Casey2014-02-083-0/+26
* | | Skips linked folder tests if symlink is invalidMikko Johansson2014-02-091-2/+6
| |/ |/|
* | Add test case for autosave HasMany with accepts_nested_attributes.Lauro Caetano2014-02-083-0/+33
* | 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