How can I leverage Validation framework for input parameter collection
when I don’t have/need to persist to database (i.e. no activerecord
I have a set of parameters I want to collect from a form that will be
used as input to a 2nd stage. I want to collect the parameters and
use the Rails validations framework to assist here however how do I do
this when I don’t have a database table? (i.e. I won’t have an active
Which is the most popular method for this, for example:
(a) I see there is an activerecord_base_without_table plugin
- but it seems like a shame to have to jump into a plugin just to use
the validation framework no?
© Is there a direct way to use the validation / activecontroller
framework without needing a plugin?