Re: [Rails] can not redirect to nil

2014-08-04 Thread Scott Ribe
On Aug 4, 2014, at 2:52 AM, Jaimin Pandya wrote: > I can not able to find solution of this error. > > Any help would be appreciate. As was suggested before, use logging to see what is actually happening. When you're starting without a clue, log after every line to see where things become diff

Re: [Rails] can not redirect to nil

2014-08-02 Thread Colin Law
On 2 August 2014 11:50, Jaimin Pandya wrote: > I am using Ruby 2.0.0 and Rails 3.2.16. > >>>I get following error after clicking on "Add to count" button : > > ActionController::ActionControllerError (Cannot redirect to nil!): > > app/controllers/line_items_controller.rb:53:in `block (2 levels) in

[Rails] can not redirect to nil

2014-08-02 Thread Jaimin Pandya
I am using Ruby 2.0.0 and Rails 3.2.16. >>I get following error after clicking on "Add to count" button : ActionController::ActionControllerError (Cannot redirect to nil!): app/controllers/line_items_controller.rb:53:in `block (2 levels) in create' app/controllers/line_items_controller.rb:51:in