bitcast/bitcast — pull request #121 by lukesteensen (2013-01-21 23:14:02+00:00)
Title: filter out unpublished videos

Decided not to use `default_scope` because that can be annoying when you want to ignore it. Just remember to add the `published` scope whenever you're showing videos publicly.

You also might want to run something like this in the console to publish all existing videos:

Video.all.each{|v| v.published = true; v.save }