RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: eschaefer
Site: http://www.eric-schaefer.com
Alas, yes.
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:
puts "get 'tags/:tag', to: 'articles#index', as: :tag"
to
puts "get 'tags/:tag' => 'articles#index', :as => :tag"
Alas, yes.
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:
puts "get 'tags/:tag', to: 'articles#index', as: :tag"
to
puts "get 'tags/:tag' => 'articles#index', :as => :tag"