search for: get_product

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

Did you mean: dot_product
2005 Dec 15
3
Another session question
...e 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 def add_to_product_factory @product = Product.find(params[:product]) ## Will the code below grab the ## original Product Object @product = get_product @product.add_product(product) ## Here I want to determine the action based on what ## tab the user clicked on to contin...
2006 Jan 20
1
XMLRPC::DateTime from AWS
When I do an XMLRPC webservice call to retrieve a single Product, my DateTime fields in the products table do not get converted to a valid DateTime value, but remain as XMLRPC::DateTime structures. So, say my webservice call is: @product = @aws.get_product(1) Then my @product object looks like this: name: My product last_updated: #<XMLRPC::DateTime:0x37c5338> description: This is my product. unit_cost: 110.0 So, all values come through, but my DateTime value looks like the above. It doesn''t seem to be converted. Incidentally, it a...