aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* Use the database type to deserialize enumSean Griffin2016-01-231-0/+1
* Revert "Merge pull request #20835 from glittershark/if-and-unless-in-secure-t...Kasper Timm Hansen2016-01-141-3/+0
* Skip the STI condition when evaluating a default scopeMatthew Draper2016-01-121-0/+7
* Support :if and :unless in has_secure_tokenGriffin Smith2016-01-091-0/+3
* Bugfix collection association #create method …Bogdan Gusiev2015-11-231-0/+6
* Except keys of `build_record`'s argument from `create_scope` in initialize_at...yui-knk2015-11-162-0/+2
* Ensure `has_and_belongs_to_many` works with `belongs_to_required_by_default`Sean Griffin2015-10-291-0/+8
* Fix merge conflicts from #19501Sean Griffin2015-10-291-0/+7
|\
| * DRY up STI subclass logicCody Cutrer2015-03-241-0/+7
* | Merge pull request #18548 from sebjacobs/support-bidirectional-destroy-depend...Sean Griffin2015-10-281-0/+40
|\ \
| * | Add support for bidirectional destroy dependenciesSeb Jacobs2015-01-161-0/+40
* | | Revert "Merge pull request #21994 from mtodd/inherit-scopes"Rafael Mendonça França2015-10-271-1/+1
* | | Make inherited scope test failMatt Todd2015-10-261-1/+1
* | | Merge pull request #19686 from tsun1215/index_errorsSean Griffin2015-10-262-0/+8
|\ \ \
| * | | Errors can be indexed with nested attributesMichael Probber2015-04-172-0/+8
| | |/ | |/|
* | | Refactor Calculations#execute_grouped_calculation and clean AR test caseRafael Sales2015-10-221-1/+0
* | | Fix merge conflicts for #19938Sean Griffin2015-10-203-0/+6
|\ \ \
| * | | Fix for activerecord join dependency instantiate bugMehmet Emin İNAÇ2015-05-043-0/+6
| |/ /
* | | Remove unused scopesAndy Atkinson2015-10-013-10/+0
* | | Fix regression in inverse_of on through associationseileencodes2015-09-263-0/+8
* | | Implement ActiveRecord::Base.ignored_columnsJean Boussier2015-09-241-0/+5
* | | introduce `conn.data_source_exists?` and `conn.data_sources`.Yves Senn2015-09-221-1/+1
* | | Revert "Merge pull request #20080 from robertjlooby/fix_overwriting_by_dynami...Rafael Mendonça França2015-09-091-8/+0
* | | Merge pull request #20080 from robertjlooby/fix_overwriting_by_dynamic_findersRafael Mendonça França2015-09-091-0/+8
|\ \ \
| * | | put dynamic matchers on the GeneratedAssociationMethods instead of modelRob Looby2015-05-081-0/+8
| |/ /
* | | Typo fix [ci skip]amitkumarsuroliya2015-09-071-1/+1
* | | Deprecate passing conditions to AR::Relation destroy_all and delete_all methodsWojciech Wnętrzak2015-09-061-1/+1
* | | Only nullify persisted has_one target associationsAgis-2015-08-242-0/+2
* | | Merge pull request #19683 from tristang/require-option-for-counter-cacheRafael Mendonça França2015-08-133-5/+6
|\ \ \
| * | | Add tests for associations without counter_cacheTristan Gamilis2015-04-091-0/+1
| * | | Require explicit counter_cache option for has_manyTristan Gamilis2015-04-072-5/+5
| |/ /
* | | Merge pull request #19770 from vngrs/prevent_duplicated_where_clausesRafael Mendonça França2015-08-131-0/+7
|\ \ \
| * | | Prevent duplicating `where` clauses when model is extended from an abstract c...Mehmet Emin İNAÇ2015-04-151-0/+7
| |/ /
* | | Skip statement cache on through association readerRafael Mendonça França2015-08-125-0/+40
* | | use correct DB connection for generated HABTM tableMatt Hanlon2015-08-071-0/+5
* | | Merge pull request #20849 from vngrs/misleading_nested_exceptionsRafael Mendonça França2015-07-271-3/+4
|\ \ \
| * | | Fix misleading errors for has_one through relationsMehmet Emin İNAÇ2015-07-221-3/+4
* | | | 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
|/ / /
* | | Correctly ignore `mark_for_destruction` without `autosave`Sean Griffin2015-07-201-0/+1
* | | Fix counter_cache for polymorphic associationsStefan Kanev2015-07-191-0/+1
* | | Ensure cyclic associations w/ autosave don't cause duplicate errorsSean Griffin2015-07-181-0/+11
* | | Fix regression caused by a01d164bRafael Mendonça França2015-07-071-0/+16
* | | Add pending test for the great-grandparent touching bug from #19324David Heinemeier Hansson2015-06-252-0/+8
* | | Add enum prefix/suffix option to enum definitionIgor Kapkov2015-06-121-0/+4
* | | Fix crash when loading fixture with belongs_to association defined in abstrac...Victor Costan2015-06-041-0/+12
* | | allow setting of a demodulized class name when using STIAlex Robbin2015-05-111-0/+3
|/ /
* | Fix leaky chain on polymorphic associationeileencodes2015-03-153-0/+5
* | Merge pull request #18996 from morgoth/deprecate-more-errors-methodsYves Senn2015-02-192-2/+2
|\ \
| * | Deprecate `ActiveModel::Errors` `add_on_empty` and `add_on_blank` methodsWojciech Wnętrzak2015-02-192-2/+2