aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #20459Sean Griffin2015-08-061-0/+93
|\
| * Add missing data types for ActiveRecord migrationsMehmet Emin İNAÇ2015-06-081-0/+93
* | Merge pull request #21092 from vngrs/use_memoization_for_ids_readerRafael Mendonça França2015-08-061-0/+8
|\ \
| * | Use memoization for collection associations ids readerMehmet Emin İNAÇ2015-08-031-0/+8
* | | Fix ambiguous argument warningMehmet Emin İNAÇ2015-08-021-1/+1
|/ /
* | Merge pull request #20884Sean Griffin2015-08-011-0/+70
|\ \
| * | Add #cache_key to ActiveRecord::Relation.Alberto F. Capel2015-07-201-0/+70
* | | Merge pull request #20849 from vngrs/misleading_nested_exceptionsRafael Mendonça França2015-07-273-4/+12
|\ \ \
| * | | Fix misleading errors for has_one through relationsMehmet Emin İNAÇ2015-07-223-4/+12
* | | | Remove @connection instance variable only when definedYasuo Honda2015-07-261-2/+2
* | | | Properly allow uniqueness validations on primary keys.Sean Griffin2015-07-251-0/+19
* | | | `destroy` shouldn't raise when child associations fail to saveSean Griffin2015-07-241-0/+30
* | | | Remove ivar only when definedAkira Matsuda2015-07-241-2/+2
* | | | Rename the enum_{prefix,suffix} options to _{prefix,suffix}Robin Dupret2015-07-231-4/+4
* | | | fix rails testsMehmet Emin İNAÇ2015-07-211-1/+1
|/ / /
* | | Deprecate and rename the keys for association restrict_dependent_destroyRoque Pinel2015-07-202-0/+39
* | | Ensure that microsecond precision is only used for version of mysql that supp...Jori Hardman2015-07-203-1/+37
* | | Fix minor typo in test nameSean Griffin2015-07-201-1/+1
* | | Fix state being carried over from previous transactionRoque Pinel2015-07-201-0/+7
* | | Correctly ignore `mark_for_destruction` without `autosave`Sean Griffin2015-07-202-0/+8
|/ /
* | 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