Rails model with type column and without STI

suggest change

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

Feedback about page:

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



Table Of Contents