aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* 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
|/
* Revert "Merge pull request #14544 from jefflai2/named_scope_sti"Rafael Mendonça França2014-05-212-5/+0
* build fix, use lambda syntax that ruby 1.9.3 understands.Yves Senn2014-05-211-1/+1
* Fix polymorphic eager load with foreign_key as String.Lauro Caetano2014-05-201-0/+3
* Merge pull request #14544 from jefflai2/named_scope_stiRafael Mendonça França2014-05-202-0/+5
|\
| * Fixes Issue #13466.Jefferson Lai2014-04-232-0/+5
* | test, inline `DeveloperWithAggregate`, which is used by a single test.Yves Senn2014-05-191-6/+0
* | Merge pull request #14871 from kassio/kb-fixes-namespaced-habtmRafael Mendonça França2014-05-143-0/+8
|\ \
| * | Fix how to compute class name on habtm namespaced.Kassio Borges2014-05-133-0/+8
* | | Merge pull request #15078 from nbudin/fix_merger_filter_binds_comparison_masterRafael Mendonça França2014-05-142-0/+17
|\ \ \ | |/ / |/| |
| * | Make filter_binds filter out symbols that are equal to stringsNat Budin2014-05-142-0/+17
|/ /
* | Fix broken proc syntax for 1.9.3Arthur Neves2014-05-091-1/+1
* | test, regression test for has_many with instance dependent scope.Yves Senn2014-05-091-0/+2
* | Fixed HABTM's CollectionAssociation sizeFred Wu2014-05-081-0/+2
* | Add support for module-level table_suffix in modelsJenner LaFave2014-05-051-0/+18
* | Merge pull request #14978 from bogdan/relation-joinRafael Mendonça França2014-05-051-0/+4
|\ \
| * | Put back Relation#join method as a delegate to ArrayBogdan Gusiev2014-05-051-0/+4
* | | Get rid of unused method in AR Post test modelCarlos Antonio da Silva2014-05-051-4/+0
|/ /
* | Fixed custom validation context bug where childEric Chahin2014-05-012-0/+12