I’m relativly new to the rails business so i have a rather noobish
I have to create an app that has dynamic forms. That means, that I habe
about 10 Forms that all have a subset of attributes they share and some
that are unique to the type of form. Example:
Fields needed in Form1
Fields needed in Form2
So Form1 and Form2 share the fields created_at, etc.
Then I need to store values and define restrictions to the fields like
unique or things like if bank_name is set, account_number must be set
I’m a little bit lost, how to begin with this stuff. I have been looking
at STI but I’m not sure whether ist’s what I need or not.
An optional feature would be to be able to define these dynamic forms
inside of the application.
thank you all!