search for: formtypeitem

Displaying 1 result from an estimated 1 matches for "formtypeitem".

2007 Aug 02
4
ActiveRecord Limitation (Advance)
...le to :- @search = Form.find(:all, :include=>[:form_type, :form_type_items], :conditions=>....) 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 | --------...