aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/inheritance_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Improve the performance of reading attributesSean Griffin2014-11-181-1/+1
* Remove dead test code for unsupported adaptersSean Griffin2014-05-171-8/+0
* Use teardown helper method.Guo Xiang Tan2014-03-141-1/+1
* Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-211-2/+2
* Don't try to get the subclass if the inheritance column doesn't existUjjwal Thaakar2014-01-141-1/+8
* fix bug in becomes! when changing from base to subclass. Closes #13272.Yves Senn2014-01-131-0/+11
* Change all "can not"s to the correct "cannot".T.J. Schuck2014-01-031-2/+2
* Port test from cf1904f to avoid future regressionPrem Sichanugrist2013-10-031-1/+5
* Fix #new with an STI object with complex inheritanceNate Berkopec2013-04-021-0/+4
* move tests out from base_test.rbTakehiro Adachi2013-03-181-0/+14
* add an missing assertion to inheritance_test.rbTakehiro Adachi2013-03-111-0/+1
* Fix ActiveRecord `subclass_from_attrs` when eager_load is false.Dmitry Vorotilin2013-03-061-0/+11
* User assert_kind_of, invert assert_equal expectationsCarlos Antonio da Silva2012-11-291-3/+3
* Added STI support to init and building associationsJason Rush2012-11-291-0/+23
* Remove ActiveRecord::ModelJon Leighton2012-10-261-10/+1
* test cleanup, remove ruby_type because it's no longer neededYves Senn2012-09-031-1/+1
* rewrite inheritance tests with a custom inheritance_columnYves Senn2012-09-031-48/+38
* set the configured #inheritance_column on #become (#7503)Yves Senn2012-09-031-1/+9
* Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-2/+2
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-12/+12
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-6/+6
* Refactor ActiveRecord::Inheritance.base_class logicbeerlington2012-07-261-0/+30
* remove deprecated callsJon Leighton2012-04-271-2/+2
* find and replace deprecated keysJon Leighton2012-04-271-7/+7
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-10/+10
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-4/+4
* Support establishing connection on ActiveRecord::Model.Jon Leighton2011-12-281-1/+0
* Deprecate set_inheritance_column in favour of self.inheritance_column=Jon Leighton2011-11-291-2/+2
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Rewrote AssociationPreload.Jon Leighton2011-02-281-1/+1
* just use a hash for doing association cachingAaron Patterson2011-01-071-1/+1
* take more advantage of arel sql compilerAaron Patterson2010-12-251-1/+1
* stop redifining methods on every call to set_primary_keyAaron Patterson2010-12-241-0/+4
* fixing dup regressionsAaron Patterson2010-11-231-1/+1
* type_name should check for blank because people may have messed up databasesAaron Patterson2010-09-301-0/+14
* Add scoping and unscoped as the syntax to replace the old with_scope and with...José Valim2010-06-291-1/+1
* Final iteration of use better testing methodsNeeraj Singh2010-05-191-7/+7
* Changed ActiveRecord::Base.store_full_sti_class to be true by default reflect...David Heinemeier Hansson2010-01-031-0/+3
* Merge commit 'rails/master'Emilio Tagua2009-08-081-1/+2
|\
| * added :order to find :all as otherwise Oracle tests were failingRaimonds Simanovskis2009-08-061-1/+2
* | Merge commit 'rails/master'Emilio Tagua2009-06-301-2/+2
|\|
| * Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-011-2/+2
| * Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-221-2/+2
| * Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-211-2/+2
* | Calculations now use Arel to construct the query.Emilio Tagua2009-04-291-2/+2
|/
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-2/+2
* Remove SQL Server cases from tests for latest adapter work to pass rails expe...Ken Collins2008-11-191-2/+2
* fixed association preloading to use = instead of IN when there's only one recordrsl2008-09-101-1/+1
* Fix file permissionsTarmo Tänav2008-07-311-0/+0