RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: grimmwerks
Curious if this is still a valid way of using the Enum in Rails 4.1? Really want to have something defined on a model without creating a second model -- it's static a static list of locations --this seems like the best way of dealing with it.
I'm having the same issue here; can't figure out what I'm doing wrong. Have
resources :shows do
And am trying to get to a link such as
:slide_url => show_episode_path(@show, @episode)
But for some reason the episode id isn't being added:
started GET "/shows/the-first-show/episodes/" for 127.0.0.1 at 2013-09-12 00:54:30 -0400