RailsCasts Pro episodes are now free!

Learn more or hide this

Eric's Profile

GitHub User: eschaefer

Site: http://www.eric-schaefer.com

Comments by Eric

Avatar

Such an awesome episode. Though to get this example to work, I had to adjust the syntax from line 2 of your routes.rb example from:

ruby
puts "get 'tags/:tag', to: 'articles#index', as: :tag"

to

ruby
puts "get 'tags/:tag' => 'articles#index', :as => :tag"