On Apr 1, 8:59 pm, "Mendel G." <li...@ruby-forum.com> wrote:
> @Fred
>
> Yes, that's what I want to do.
I'd be tempted to have a non persistent model that contains the set of
choices made by the user and write the validations in this model.
If you use the ActiveModel stuff for your validations it should be
just like writing validations on a normal model, will play nicely with
form helpers etc.
Fred
>
> @Colin
>
> That's just an alias for the post. In the model, its real name is
> "field_type".
>
> Thanks,
>
> Mendel
>
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment