```ruby
OrdersController.class_eval do
  def thank_you
    @order = Order.find_by_number(params[:id])
    @current_order=nil
  end
end```

Clear the order id in the session when thank you shown
user
```ruby
OrdersController.class_eval do
  def thank_you
    @order = Order.find_by_number(params[:id])
    @current_order=nil
    session[:order_id] = nil

  end
end```
assistant