Ruby on Rails Discussions
Disabling ActiveRecord "type" column subclassing
rubyonrails-talk
11155
(-- --)
February 26, 2014, 8:40pm
1
Simply use class MyModel < ActiveRecord::Base self.inheritance_column = 'somthing_not_type' end
Related topics
Topic
Replies
Views
Activity
Disabling ActiveRecord "type" column subclassing
rubyonrails-talk
0
127
March 28, 2007
Disabling ActiveRecord "type" column subclassing
rubyonrails-talk
2
170
February 19, 2013
ActiveRecord column "type"
rubyonrails-talk
1
154
November 1, 2006
Serialization of ActiveRecord Instances: No Inheritance Column?
rubyonrails-core
1
194
November 7, 2007
inheritance_column issues
rubyonrails-talk
1
151
January 15, 2010