Displaying 6 results from an estimated 6 matches for "xatvw6n1wmx8ahkc1ehl5g".
2005 Dec 16
3
Help with error
I am getting this error
NoMethodError in Admin#add_to_project
undefined method `find'' for #<Project:0x249da88>
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/
base.rb:1501:in `method_missing''
./script/../config/../app/controllers/admin_controller.rb:65:in
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
2005 Dec 14
1
Session Restore
I need to be able to save and restore form data to and from a
session. Has anybody worked through this already?
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
2005 Dec 17
0
Forcing a POST
I seem to be going nutz with this link_to syntax
can someone tell me if this is right?.......
http://rafb.net/paste/results/8ZH03i40.html
for forcing a POST
2005 Dec 17
0
Proper use of params
I can not find anything in the RoR API on the proper use of params[]