search for: contractoritem

Displaying 2 results from an estimated 2 matches for "contractoritem".

2005 Dec 16
0
belongs_to question
Looking for some advice here: I have a models set up like this: --------------------------------- class Project end class ContractorItem belongs_to :project end class EngineerItem belongs_to :project end Now, to create a new Project I have these views: ------------------------------------------------ new_contractor_item new_engineer_item >>> These views are set up as CSS tabs that the user can click between and...
2005 Dec 15
3
Another session question
I want to give a user a form to create a new Product, but instead of persisting the product to the database I want to store it in a session first for category assignment, etc.. (in other controllers) So when the user describes the product on the form I have a "Save and Continue" button pointing to the action add_to_product_factory: def new_product @product = get_product end