Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: AmateurGolfer
I think the order of the routes is important to make this work properly.
get ':id', to: 'pages#show', as: :page
resources :pages, except: :show
root to: 'products#index'
Any idea on how to test the mailer for the contact form in Rails 4?