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 `create'
I attached code of line_items_controller.rb and full trace of error.
please find it.
>Error occur at following line as display in error:
format.html { redirect_to @line_item.expensescounter } #line No:53
I attached full trace of error. please find it.
Any help would be appreciated.
Kind regards.
Attachments:
http://www.ruby-forum.com/attachment/9951/full_trace_of_error.odt
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e37245d741e920dc4463991c4b4d48a3%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment