search for: product_id2

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

Did you mean: product_id
2006 Mar 17
1
How to update values in database in this form?
...ct.rb================== class Product < ActiveRecord::Base validates_presence_of :name , :demand end =================================== But when I click ''add to cart'' button on my form I get error as:- ======================================================= undefined method `product_id2='' for #<Product:0x3c98b30> ======================================================= Why this error is coming? Please tell me. Thanx in advance. Prash -- Posted via http://www.ruby-forum.com/.