search for: sales_order_number

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

2008 Sep 30
0
Redirect Loop
I have the following code in my controller: def list_by_so_number if request.get? @histories = History.find(:all, :conditions => [''so_number = ?'', params[:sales_order_number]], :order => ''timestamp desc'') if @histories.length < 1 then flash[:notice] = ''There isn\''t a Sales Order that matches the number you entered'' redirect_to :action => ''list_by_so_number'' end end...