Displaying 1 result from an estimated 1 matches for "customer_options".
2006 May 03
1
error_messages_for when saving within another model
Hi,
I have this save routine:
def customer_address_create
customer_options
@customer = Customer.find(params[:id])
@customer.addresses.create(params[:address])
@saved = @customer.save
end
That passes to a rjs template like this:
if @saved
page.visual_effect :Fold, ''add_address''
page.replace_html ''addresses'', :partial =&...