Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Brandon's Profile

GitHub User: brandonparsons

Site: brandonparsons.me

Comments by Brandon

Avatar

If you aren't creating too many of these routes I think the best way to do this is with static routes - e.g. get "/pricing" => "pages#pricing". It isn't strictly restful, but I think people sometimes go overboard with that. Not only is this simpler, but it also avoids the catch-all route issue mentioned as well as database performance issues brought up.

Avatar

I did just a little bit of testing, but for me PhantomJS was about 20% slower than Capybara-Webkit.

You don't end up with the QT dependency though... So that might be worth its weight in gold to some.