the error is in checkout_helper line 16. Can you post that method? -- Oscar Del Ben Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, July 17, 2012 at 12:46 PM, yatta20 wrote: > > Hello I'm a newbie, > > > Our server went down recently and now I'm getting page not found when I try > to purchase a product. > > > Ruby 1.9.3, Rails 3.21 > > > > > > Here's the information from the log file. > > > ActionView::Template::Error (comparison of Fixnum with nil failed): > > > 3: <% end %> > > > 4: <div id="checkout"> > > > 5: <h1><%= t("checkout")%></h1> > > > 6: <%= checkout_progress %> > > > 7: <br clear="left" /> > > > 8: <%= render "shared/error_messages", :target => @order %> > > > 9: <%if @order.state != "confirm"%> > > > app/helpers/checkout_helper.rb:16:in `<' > > > app/helpers/checkout_helper.rb:16:in `checkout_progress' > > > app/helpers/checkout_helper.rb:9:in `map' > > > app/helpers/checkout_helper.rb:9:in `checkout_progress' > > > app/views/checkout/edit.html.erb:6:in > `_app_views_checkout_edit_html_erb___1936024257_23456254125680_0' > > > > > > app/views/checkout/edit.html.erb > > > <% content_for :head do %> > <%= javascript_include_tag 'checkout', '/states' %> > <% end %> > <div id="checkout"> > <h1><%= t("checkout")%></h1> > <%= checkout_progress %> > <br clear="left" /> > <%= render "shared/error_messages", :target => @order %> > <%if @order.state != "confirm"%> > <%= hook :checkout_summary_box do %> > <div id="checkout-summary" class="alt"> > <%= render 'summary', :order => @order %> > </div> > <% end %> > <%end%> > <div id="address_form_container"> > <%= form_for @order, :url => update_checkout_path(@order.state), :html => > { :id => "checkout_form_#{@order.state > (mailto:checkout_form_#{@order.state)}" } do |form| %> > <%= render @order.state, :form => form %> > <input id="post-final" type="submit" style="display:none"/> > <% end %> > </div> > </div> > > > Any ideas? > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com > (mailto:rubyonrails-talk@googlegroups.com). > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com > (mailto:rubyonrails-talk+unsubscr...@googlegroups.com). > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/3zxTdricce4J. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.