search for: store_orders_url

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

2009 Oct 07
1
output validations errors form causing type error?
...that I can''t track down. The error I get is the following : TypeError in Store/orders#create Showing app/views/store/orders/new.html.erb where line #45 raised: can''t convert Array into String This is ocurring in the following view code: <% form_for :order, @order, :url => store_orders_url, :html => {:class => "myform"} do |order_form| %> <%= order_form.error_messages %> I can''t understand why this would be ocurring, because I was able to inspect the errors object for @order in the log, and it seems normal to me, I don''t know why it cause...