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:


Single Table inheritance:
* Rails model with type column and without STI

Table Of Contents
3 Views
19 Caching
23 Rails 5
25 Mongoid
26 Gems
55 CSV
60 Single Table inheritance