Monthly Archives: November 2010

Testing Rails Routes in the Console

Here’s a useful tip for testing rails routes in the console: include ActionController::UrlWriter default_url_options[:host] = ‘hostname’ Then you can just type: users_url users_path etc. Nice! Advertisements

Posted in Uncategorized | Leave a comment