On 1 April 2011 19:43, Mendel G. <[email protected]> wrote:
> My application has the following models:
>
> Form
> Field
> FieldForm
> Value
> Record
>
> (and others that are irrelevant to the question)
>
> In a Form, I have many Fields and for a Field, there are many Forms. The
> idea is to generate a form with customizable Fields. The Field has an
> attribute called "type" that defines what control will be rendered

Don't use 'type' as an attribute, it will cause you grief.  Rails will
assume you are using STI and you will get some strange errors.

Colin

-- 
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