aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Fix `NoMethodError: undefined method `fields' for nil:NilClass`Ryuta Kamizono2016-02-291-0/+18
* Fix test name typo prescence -> presenceeileencodes2016-02-271-1/+1
* Fix uniqueness validation with an after_create hook.Joe Rafaniello2016-02-251-0/+18
* Ensure suppressor runs before validationseileencodes2016-02-242-1/+13
* Ensure `drop_table` even if tests failure or interruptedRyuta Kamizono2016-02-241-7/+5
* `drop_table :test_text_limits` as wellRyuta Kamizono2016-02-241-9/+13
* Revert changes to validations from PR #18612eileencodes2016-02-234-63/+21
* Merge pull request #23628 from maclover7/fix-23625Sean Griffin2016-02-233-0/+37
|\
| * Fix issue #23625Jon Moss2016-02-183-0/+37
* | Merge pull request #23789 from wisetara/wisetara/deprecate-args-ActiveSupport...Rafael França2016-02-2313-31/+31
|\ \
| * | remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-2213-31/+31
* | | Make sure we don't change the global state in the testsRafael Mendonça França2016-02-231-0/+4
* | | Remove needless `drop_table :test_limits`Ryuta Kamizono2016-02-231-3/+0
|/ /
* | Merge pull request #23419 from prathamesh-sonpatki/fix-showing-of-deprecation...Matthew Draper2016-02-231-1/+13
|\ \
| * | Fix random failures of tests on TravisPrathamesh Sonpatki2016-02-121-1/+1
| * | Correctly show deprecation warning for incompatible migrationsPrathamesh Sonpatki2016-02-121-0/+12
* | | Merge pull request #23521 from kamipo/fix_assert_in_delta_failureRafael França2016-02-221-3/+8
|\ \ \
| * | | Fix `assert_in_delta` test failureRyuta Kamizono2016-02-061-3/+8
* | | | Merge pull request #22748 from Azzurrio/masterMatthew Draper2016-02-221-0/+22
|\ \ \ \
| * | | | Fix NoMethodError preparable for Arel::Visitors in case prepared statements i...Azzurrio2016-02-221-0/+22
| | |/ / | |/| |
* | | | Merge pull request #23751 from chezou/add-test-case-order-by-fieldAndrew White2016-02-221-0/+6
|\ \ \ \
| * | | | Add assertions order by field with empty dataMichiaki Ariga2016-02-181-0/+6
* | | | | Match test name to test (typo)Ian Fleeton2016-02-211-1/+1
* | | | | Merge pull request #23794 from matthewd/mutation-safe-to_aMatthew Draper2016-02-211-0/+10
|\ \ \ \ \
| * | | | | Mutating the result of Relation#to_a should not affect the relationMatthew Draper2016-02-211-0/+10
| |/ / / /
* | | | | Merge pull request #23793 from qazbnm456/masterEileen M. Uchitelle2016-02-201-1/+1
|\ \ \ \ \
| * | | | | fix typoLobsiinvok2016-02-201-1/+1
* | | | | | Always validate record if validating a virtual attributeeileencodes2016-02-203-0/+45
|/ / / / /
* / / / / eliminate warnings about multiple primary keys on habtm join tablesAaron Patterson2016-02-192-1/+14
|/ / / /
* | | | Merge pull request #22365 from phuibonhoa/phuibonhoa/polymorphic_where_multip...Sean Griffin2016-02-173-2/+25
|\ \ \ \
| * | | | Fixed `where` for polymorphic associations when passed an array containing di...Philippe Huibonhoa2016-02-163-2/+25
* | | | | Merge pull request #23570 from rthbound/addresses-23568Matthew Draper2016-02-181-0/+14
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Addresses #23568Ryan T. Hosford2016-02-091-0/+14
* | | | | Show proper error message when a non-relation object is passed to AR::Relatio...Prathamesh Sonpatki2016-02-171-0/+6
* | | | | Fix semantics of test names for finish option in batches_testAkshay2016-02-171-2/+2
* | | | | Test parent local_stored_attributes isn't modifiedDavid Genord II2016-02-161-0/+1
| |/ / / |/| | |
* | | | Merge pull request #23614 from georgemillo/foreign_keyYves Senn2016-02-161-0/+16
|\ \ \ \
| * | | | Let t.foreign_key use the same `to_table` twiceGeorge Millo2016-02-151-0/+20
|/ / / /
* | | | Merge pull request #23377 from bogdan/last-with-sqlEileen M. Uchitelle2016-02-131-8/+36
|\ \ \ \
| * | | | Make ActiveRecord::Relation#last to reverse SQL orderBogdan Gusiev2016-02-131-8/+36
| | |/ / | |/| |
* / | | Fix grammar `a` to `an` [ci skip]Ryuta Kamizono2016-02-131-1/+1
|/ / /
* | | Merge pull request #18109 from k0kubun/unscoped-joinsSean Griffin2016-02-112-0/+13
|\ \ \
| * | | Allow `joins` to be unscopedTakashi Kokubun2016-01-312-0/+13
* | | | Merge pull request #23581 from diego-silva/uniqueness-validator-pk-fixSean Griffin2016-02-111-0/+11
|\ \ \ \
| * | | | UniquenessValidator exclude itself when PK changedDiego Silva2016-02-091-0/+11
| | |/ / | |/| |
* | | | rename to 'second_to_last' and 'third_to_last'Brian Christian2016-02-101-4/+4
* | | | allow Array.penultimate and Array.antepenultiate access methodsBrian Christian2016-02-091-0/+10
|/ / /
* | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-02-071-2/+0
|\ \ \ | |_|/ |/| |
| * | [ci skip] Good bye SQLite2yui-knk2016-02-061-2/+0
* | | Revert "Dump indexes in `create_table` instead of `add_index`"Sean Griffin2016-02-051-10/+10