Displaying 2 results from an estimated 2 matches for "order_form".
2009 Oct 07
1
output validations errors form causing type error?
...:
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 errors in outputting errors to the
view for this object. Here...
2006 Jul 24
2
BIG JS limit? Using replace_html with partials containing JS
.../h2>
<div id="order_message"><%=@order_message%></div>
<%= form_remote_tag :update=>''order_part'',
:url=> { :id=>@order.id, :action => ''order_update''}
%>
<%= render :partial=>''order_form'' %> </p>
<%= submit_tag ''Modify'' %>
<%= end_form_tag %>
<%=
update_page_tag do |page|
page.delay(2) do
page.visual_effect :fade, ''order_message''
end
end
%>
<%=update_page_tag do |page|
page.repl...