Ruby on Rails - rails model with type column and without sti in ruby on rails- ruby on rails tutorial - rails guides - rails tutorial - ruby rails
Rails model with type column and without STI
Having type column in a Rails model without invoking STI can be achieved by assigning :_type_disabled to inheritance_column:
class User < ActiveRecord::Base
self.inheritance_column = :_type_disabled
end