Is the current value nil?  Perhaps

<% this.product = Product.first if this.product.nil? %>

would help.

Bryan

>>> As a second problem, the <select> for product has a first item of "(No
>>> Product)" is there some way to get rid of this?
>> select-one has an 'include-none' option, which you'd want to set to false.
> 
> I tried:
>               <product-view:><select-one 
> include-none="false"/></product-view:>
> 
> But it still appears.
> 
> Cheers
> Geoff
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to