Skip to content


Add documentation for inheritance_column method #6976

merged 1 commit into from

2 participants



I thought some small documentation for the inheritance_column method would be nice.
I hope you agree.

@carlosantoniodasilva carlosantoniodasilva merged commit 6d0394c into rails:master
Ruby on Rails member

@vitorbal thanks! If you want to contribute more to Rails docs, you can do it right into lifo/docrails, it's an open project so everyone has commit access, with the purpose of improving Rails documentation. Only doc changes are allowed, and they're merged back onto Rails from time to time. Please feel free to contribute there, or send a pull request here in case you prefer. Thanks again.


@carlosantoniodasilva wow, that was fast! :)
I will consider docrails next time. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 5, 2012
  1. @vitorbal
Showing with 3 additions and 1 deletion.
  1. +3 −1 activerecord/lib/active_record/model.rb
4 activerecord/lib/active_record/model.rb
@@ -103,7 +103,9 @@ def arel_engine
def abstract_class?
+ # Defines the name of the table column which will store the class name on single-table
+ # inheritance situations.
def inheritance_column
Something went wrong with that request. Please try again.