Saturday, 7 December 2013

Errors


==>E)NameError in CategoriesController#index
uninitialized constant ApplicationController
A) application.rb to application_controller.rb


==>ActiveRecord::RecordNotFound in ProductsController#show
Couldn't find Product with ID=nw
A)url problem



200..399 - Valid response, no exception (other than 301, 302)

301, 302 - ActiveResource::Redirection

400 - ActiveResource::BadRequest

401 - ActiveResource::UnauthorizedAccess

403 - ActiveResource::ForbiddenAccess

404 - ActiveResource::ResourceNotFound

405 - ActiveResource::MethodNotAllowed

409 - ActiveResource::ResourceConflict

410 - ActiveResource::ResourceGone

422 - ActiveResource::ResourceInvalid (rescued by save as validation errors)

401..499 - ActiveResource::ClientError

500..599 - ActiveResource::ServerError

Other -
=======
=>ActiveResource::ConnectionError

=>You have a nil object when you didn't expect it!

No comments:

Post a Comment