Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: mbrookes
The more correct variant of this approach (using a data- attribute) was already covered the screencast. Nothing to see here. Move along.
Whilst I appreciate Ryan has a bigger audience than thoughtbot (otherwise CopyCopter might not be shutting down as a paid service), this screencast is almost a word for word copy of the one Dan Croak did here a couple of days ago: http://robots.thoughtbot.com/post/19388751626/copycopter-is-now-open-source
Not saying that's good or bad, it just feels "off" somehow (not as off as Christopher Dell's ad for his competing product, but you know what I mean).