Flowdock
method

set_inheritance_column

Importance_1

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

set_inheritance_column(value = nil, &block) public

Sets the name of the inheritance column to use to the given value, or (if the value # is nil or false) to the value returned by the given block.

class Project < ActiveRecord::Base
  set_inheritance_column do
    original_inheritance_column + "_id"
  end
end
Show source
Register or log in to add new notes.