Rails 3 console

In the console
to check my paths, I used to write ( In Rails 2)
include ActionController::UrlWriter
then I could test my paths : new_project_path , …

but now in Rails 3
include ActionController::UrlWriter
gives an error
NameError: uninitialized constant ActionController::UrlWriter

sure something changed, any other additional include needed ?

thanks fyh

Kad K. wrote in post #965999:

include ActionController::UrlWriter
gives an error
NameError: uninitialized constant ActionController::UrlWriter

Use:

include Rails.application.routes.url_helpers

Thanks a lot … got it