Defines the column name for use with single table inheritance — can be set in subclasses like so: self.inheritance_column = "type_id"
# File active_record/base.rb, line 973 def inheritance_column @inheritance_column ||= "type".freeze end
<code/>
<pre/>
<code/>and<pre/>for code samples.