L
laredotornado
Hi,
I'm getting the error
SyntaxError in OrderController#confirm
/usr/local/apache2/htdocs/easyrx/app/controllers/order_controller.rb:
11: syntax error, unexpected kEND
end ^
/usr/local/apache2/htdocs/easyrx/app/controllers/order_controller.rb:
33: syntax error, unexpected $end, expecting kEND
in this method:
def confirm
i = 0
while params[rescription_number + i.to_s] != nil and
params[:description + i.to_s] != nil
session[rescription_number + i.to_s] =
params[rescription_number + i.to_s]
session[:description + i.to_s] =
params[:description + i.to_s]
i++
end # line 11
end
Thanks for your help, - Dave
I'm getting the error
SyntaxError in OrderController#confirm
/usr/local/apache2/htdocs/easyrx/app/controllers/order_controller.rb:
11: syntax error, unexpected kEND
end ^
/usr/local/apache2/htdocs/easyrx/app/controllers/order_controller.rb:
33: syntax error, unexpected $end, expecting kEND
in this method:
def confirm
i = 0
while params[rescription_number + i.to_s] != nil and
params[:description + i.to_s] != nil
session[rescription_number + i.to_s] =
params[rescription_number + i.to_s]
session[:description + i.to_s] =
params[:description + i.to_s]
i++
end # line 11
end
Thanks for your help, - Dave