On Apr 1, 7:43 pm, "Mendel G." <[email protected]> wrote:

>
> Well... The complicated part comes now. I haven't idea on how to
> implement the validation. If the validation is done in the controller, I
> don't know how to show the errors that could happen (errors.add_to_base
> doesn't work because 'errors' object belongs to the model). If the
> validation is done in the model, I'll mighty be breaking 50% of the MVC
> rules by including references of other models into the Record model
> skeleton.

So the record corresponds to what is entered by a user filling in one
of these generated forms and what you are trying to do is check that
they have filled in the form respecting all the constraints setup for
that form?

Fred

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to