diff options
author | chapmajs <glitch@glitchwrks.com> | 2013-04-30 23:11:49 -0300 |
---|---|---|
committer | Takehiro Adachi <takehiro0740@gmail.com> | 2013-06-26 14:55:18 +0900 |
commit | 839efc5b6d754697682d5b2bd34ef28b2c5d2adf (patch) | |
tree | 9c714d14456c766dd3441e4ef66d14f419f4ac86 /activemodel/test/cases/naming_test.rb | |
parent | b23e0d66394a7c5442cc1ebbf4f1f2441878a8d2 (diff) | |
download | rails-839efc5b6d754697682d5b2bd34ef28b2c5d2adf.tar.gz rails-839efc5b6d754697682d5b2bd34ef28b2c5d2adf.tar.bz2 rails-839efc5b6d754697682d5b2bd34ef28b2c5d2adf.zip |
Allow global override of default STI inheritance column
This change fixes a bug by which 3.2-STABLE users can't globally override the default STI inheritance column with `ActiveRecord::Base.inheritance_column = 'some_column'`. 3.2-STABLE users are forced to use a deprecated method or monkey patch it otherwise.
Test case written by tkhr <takehiro0740@gmail.com>.
Diffstat (limited to 'activemodel/test/cases/naming_test.rb')
0 files changed, 0 insertions, 0 deletions