STI or Serialize attributes to one column?

I’m considering serializing attributes of extended classes to one column
instead of using STI.

Each of the extended classes will have associated views to render the UI
based on the serialized params. The references to the associated views
be stored in the model. I don’t need to query the params.

I’d like to hear about any pitfalls and experiences of others who may
done something similar.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs