25 Aug 2008, 19:40
Generic-user-small

Peter Sandager Jeppesen (1 post)

I have a question about combining the multiple models of recipe 13 with the validation in recipe 15.

In recipe 13, I could have a number of fields in my HTML like this one:

If I want validation on these fields, how would that work? The example in recipe 15 requires that the field has a unique id, which the above field does not have.

Is there a standard way of implementing this?

14 Dec 2009, 18:59
Myself_small_pragsmall

Anatoly Mikhaylov (6 posts)

object_id is present of any Ruby objent, not only ActiveRecord object

  You must be logged in to comment