aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Add `ActiveRecord::Base.suppress`Michael Ryan2015-02-182-0/+6
|/
* Add line endings to files which are missing themSean Griffin2015-02-176-6/+6
* Merge pull request #18512 from vipulnsward/18492-fixtures-with-stiAaron Patterson2015-01-312-3/+7
|\
| * Fixes #18492Vipul A M2015-01-142-3/+7
* | Always perform validations on nested attribute associationsSean Griffin2015-01-301-1/+2
* | Added #or to ActiveRecord::RelationMatthew Draper2015-01-281-0/+3
* | Don't redefine autosave association callbacks in nested attrsSean Griffin2015-01-282-0/+2
* | Improve consistency of counter caches updating in memorySean Griffin2015-01-261-1/+1
|/
* remove deprecated support to preload instance-dependent associaitons.Yves Senn2015-01-051-4/+0
* Add has_secure_token to Active Recordrobertomiranda2015-01-041-0/+4
* Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-025-5/+5
* Merge pull request #15309 from iantropov/issue_12698_build_throughRafael Mendonça França2015-01-021-0/+2
|\
| * Add setting of FK for throgh associations while buildingIvan Antropov2014-05-251-0/+2
* | Fix error message when trying to create an associated recordRafael Mendonça França2014-12-301-0/+1
* | AR specific length validator to respect `marked_for_destruction`.Yves Senn2014-12-301-0/+2
* | Remove all cases of manuallly wrapping `Arel::Nodes::Quoted`Sean Griffin2014-12-291-1/+1
* | Inform Arel we don't need additional type casting in testsSean Griffin2014-12-261-1/+1
* | Don't perform statement caching for `find` when called from a scopeSean Griffin2014-12-221-0/+8
* | Add foreign_type option for polymorphic has_one and has_many.Ulisses Almeida + Kassio Borges2014-12-082-0/+6
* | Fix "nonexistent" typo in testsMelissa Xie2014-12-022-4/+4
* | Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-293-4/+4
* | Fix includes on association with a scope containing joins along with conditionssiddharth@vinsol.com2014-11-211-0/+1
* | Ensure HABTM relationships produce valid class names (Fixes #17119)Sammy Larbi2014-11-091-0/+2
* | Use bind values for joined tables in where statementsSean Griffin2014-11-012-0/+5
* | Raise an error for has_one associations which try to go :through a polymorphi...Tu Hoang2014-10-151-0/+3
* | make sure cache is not used for collection assocations tooAaron Patterson2014-10-141-0/+1
* | Autosave callbacks shouldn't be `after_save`Agis-2014-10-131-0/+9
* | Better regression test for Fixtures with fk as a symbolArthur Neves2014-09-221-1/+1
* | Dynamically modified schema and association would not be correctly resetAkira Matsuda2014-09-062-0/+6
* | Skip StatementCache for eager loaded associations (Fixes #16761)Sammy Larbi2014-09-042-0/+11
* | Move association definition to the model fileAkira Matsuda2014-08-281-0/+1
* | Only merge scopes with zero arity in has_many throughAgis-2014-08-202-0/+3
* | Fixes the `Relation#exists?` to work with polymorphic associations.Kassio Borges2014-08-181-0/+1
* | Address ORA-00972: identifier is too long when tested with OracleYasuo Honda2014-07-142-2/+3
* | Move writing unknown column exception to null attributeSean Griffin2014-06-261-0/+1
* | Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-262-2/+2
* | Merge pull request #15772 from nbudin/sti_through_bugRafael Mendonça França2014-06-191-0/+7
|\ \
| * | Don't include inheritance column in the through_scope_attributesNat Budin2014-06-171-1/+8
* | | Fix has_and_belongs_to_many in a namespaced model pointing to a non namespace...Rafael Mendonça França2014-06-191-0/+1
|/ /
* | Merge pull request #15343 from dontfidget/fix_polymorphic_automatic_inverse_ofRafael Mendonça França2014-06-132-0/+2
|\ \
| * | use name specified by 'as' for automatic inverse association to avoid reflect...Andrew S. Brown2014-06-102-0/+2
| |/
* / Fix regression on eager loading association based on SQL query ratherLauro Caetano2014-06-031-0/+12
|/