aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/model.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/model.rb')
-rw-r--r--activerecord/lib/active_record/model.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/model.rb b/activerecord/lib/active_record/model.rb
index 16d9d404e3..f059840f4d 100644
--- a/activerecord/lib/active_record/model.rb
+++ b/activerecord/lib/active_record/model.rb
@@ -108,12 +108,9 @@ module ActiveRecord
# The default inheritance column name is +type+, which means it's a
# reserved word inside Active Record. To be able to use single-table
# inheritance with another column name, or to use the column +type+ in
- # your own model for something else, you can override this method to
- # return a different name:
+ # your own model for something else, you can set +inheritance_column+:
#
- # def self.inheritance_column
- # 'zoink'
- # end
+ # self.inheritance_column = 'zoink'
def inheritance_column
'type'
end