Displaying 1 result from an estimated 1 matches for "form_type_id".
2007 Aug 02
4
ActiveRecord Limitation (Advance)
...gt;....)
I need in the Form model a :form_type_items, the question is, what is
the relationship type?
Current Models:-
Form
belongs_to :form_type
FormType
has_many :form_types
has_many :form_type_items
FormTypeItem
Belongs_to :form_type
Form
----------------
| id |
----------------
|form_type_id |
----------------
FormType
----------------
| id |
----------------
| name |
----------------
FormTypeItem
----------------
| id |
----------------
| form_type_id |
----------------
| title |
----------------
--~--~---------~--~----~------------~-------~--~-...