search for: line_items_control

Displaying 3 results from an estimated 3 matches for "line_items_control".

2012 Jan 18
3
Cannot redirect to nil!
I need some help please.. when I created web application about books market, i create a cart and using test the message error appear like this on rake test:functionals LineItemsControllerTest > test_should_create_line_item > ERROR > Cannot redirect to nil! and also appear on web side, thats error told that "Cannot redirect to nil!" Then i was checking the code,
2008 Jun 04
0
routers are handled incorrectly on production
...-xR1 ./app/controllers/ ./app/controllers/: admin admin_controller.rb application.rb categories_controller.rb category_controller.rb info_controller.rb login_controller.rb search_controller.rb store_controller.rb ./app/controllers/admin: orders orders_controller.rb ./app/controllers/admin/orders: line_items_controller.rb -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~---------~--~----~------------~-------~--~----~ 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-/JYPx...
2013 Sep 23
1
redirect on browser success, but redirect on functional test is error
...assert_redirected_to @cart end ---------------------------------------------- rake test:functionals 1) Error: test_should_destroy_line_item(LineItemsControllerTest): ActionController::ActionControllerError: Cannot redirect to nil! ------------------------------------------------ @cart in line_items_controller.rb may be nil, when executing functional test. Accessing by browser "line_items/20/ post:delete", correctly redirected show cart that contain line_items(id:20) why is functional test error? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are su...