Rails model with type column and without STI

suggest change

A type column turns on single-table inheritance. Point inheritance_column at a column that does not exist, or set it to nil, and Rails will not treat type as the STI class name:

class User < ActiveRecord::Base
  self.inheritance_column = :_type_disabled
end

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents