Answer the question
In order to leave comments, you need to log in
Is normal STI with multiple values in type possible in Rails 5?
Good day.
There is a Product model with the value type="Сd,Вvd,Usb'
Is it possible to do the following without much hassle with this type value?
class Cd < Product end;
class Dvd < Product end;
class Usb < Product end;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question