aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Fix the test that was broken by #16445 rather than deleting itSean Griffin2015-07-191-0/+12
* Fix counter_cache for polymorphic associationsStefan Kanev2015-07-194-12/+15
* Merge pull request #20932 from twalpole/collection_association_parametersSean Griffin2015-07-181-1/+13
|\
| * Ensure that 'ActionController::Parameters' can still be passed to AR for coll...Thomas Walpole2015-07-181-1/+13
* | Ensure cyclic associations w/ autosave don't cause duplicate errorsSean Griffin2015-07-183-0/+23
|/
* Ensure that `ActionController::Parameters` can still be passed to ARSean Griffin2015-07-181-0/+23
* Silence deprecation warning from force reloadPrem Sichanugrist2015-07-1610-105/+125
* Deprecate force association reload by passing truePrem Sichanugrist2015-07-156-0/+36
* Replaced `ActiveSupport::Concurrency::Latch` with concurrent-ruby.Jerry D'Antonio2015-07-132-21/+21
* Fix regression caused by a01d164bRafael Mendonça França2015-07-072-0/+35
* Add test proving that accepts_nested_attributes_for is secure against ID tamp...Victor Costan2015-07-071-0/+10
* Fix spelling of `Thoughtleadering`eileencodes2015-07-021-1/+1
* Use default model enum in fixtures if not definedeileencodes2015-07-022-0/+11
* Correct through associations using scopesSean Griffin2015-06-301-0/+7
* Merge pull request #20699 from vngrs/foreign_key_with_table_name_suffix_and_p...Rafael Mendonça França2015-06-271-0/+31
|\
| * Add table name prefix and suffix support to add_foreign_key and remove_foreig...Mehmet Emin İNAÇ2015-06-251-0/+31
* | Add reversible syntax for change_column_defaultPrem Sichanugrist2015-06-262-0/+17
* | Merge pull request #20677 from jmondo/decimal-default-stringSean Griffin2015-06-253-3/+8
|\ \
| * | Display decimal defaults as strings to keep precisionJohn Gesimondo2015-06-233-3/+8
* | | Add pending test for the great-grandparent touching bug from #19324David Heinemeier Hansson2015-06-256-0/+72
|/ /
* | Merge pull request #20552 from jamesdabbs/belongs-to-polymorphic-force-reloadYves Senn2015-06-231-0/+2
|\ \
| * | Fix `undefined method uncached` for polymorphic belongs_to #20426James Dabbs2015-06-131-0/+1
* | | Merge pull request #20545 from dcrec1/20541Yves Senn2015-06-231-0/+26
|\ \ \ | |_|/ |/| |
| * | thrown ActiveRecord::AssociationTypeMismatch when assigning a wrong value for...Diego Carrion2015-06-221-0/+18
|/ /
* | AR absence validator respects `marked_for_destruction?`. Closes #20449.Yves Senn2015-06-221-0/+75
* | fix test not failing when executed isolatedDiego Carrion2015-06-191-1/+1
* | Use `Enumerable#sum` on `ActiveRecord::Relation` when a block is givenSean Griffin2015-06-191-0/+10
* | Merge pull request #19843 from marshall-lee/explain_cte_queriesYves Senn2015-06-191-0/+5
|\ \
| * | Let WITH (CTE) queries be explainableVladimir Kochnev2015-05-281-0/+5
* | | raise ActiveModel::MissingAttributeError when trying to access a relationship...Diego Carrion2015-06-161-0/+4
* | | Merge pull request #20257 from prathamesh-sonpatki/test-for-serial-for-quoted...Arthur Nogueira Neves2015-06-151-0/+6
|\ \ \
| * | | Added test case for serial? method when sequence name is not quotedPrathamesh Sonpatki2015-05-221-0/+6
* | | | make `remove_index :table, :column` reversible.Yves Senn2015-06-152-6/+15
| |_|/ |/| |
* | | Add a test to ensure `serialize` persists `nil` as `NULL`Sean Griffin2015-06-121-0/+8
* | | Don't crash when mutating attributes in a getterSean Griffin2015-06-121-0/+16
* | | Merge pull request #20480 from senny/test_runnerYves Senn2015-06-1277-223/+227
|\ \ \
| * | | make it possible to run AR tests with bin/testYves Senn2015-06-1177-223/+227
* | | | Merge pull request #20226 from EpicH0liday/reversible-remove-foreign-keyYves Senn2015-06-121-1/+30
|\ \ \ \
| * | | | Add an invert method for remove_foreign_keyAster Ryan2015-06-111-1/+30
* | | | | Add enum prefix/suffix option to enum definitionIgor Kapkov2015-06-124-0/+62
|/ / / /
* | | | Add a missing test case for the persistence behavior of `serialize`Sean Griffin2015-06-111-0/+13
* | | | Correctly handle array columns with defaults in the schema dumperSean Griffin2015-06-112-0/+6
|/ / /
* | | Merge pull request #20437 from pwnall/abstract_fixturesRafael Mendonça França2015-06-094-0/+30
|\ \ \
| * | | Fix crash when loading fixture with belongs_to association defined in abstrac...Victor Costan2015-06-044-0/+30
* | | | Return a `Point` object from the PG Point typeSean Griffin2015-06-051-11/+108
|/ / /
* | | Apply Active Record suppression to all savesGeorge Claghorn2015-06-041-1/+32
* | | Skip test that fails from outdated sqlite3 on travisSean Griffin2015-06-021-7/+9
* | | Fix postgresql DISTINCT requirement in pluck testKevin Deisz2015-06-021-2/+2
* | | Merge pull request #20362 from kddeisz/enumerable_pluckRafael Mendonça França2015-06-011-0/+21
|\ \ \
| * | | Allow Enumerable#pluck to take a splat.Kevin Deisz2015-05-291-0/+21