RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: robyurkowski
The best way to do it is to use a decorator as Ryan has done with the authenticate method. To wit:
before_filter :find_pianos, :only => [:home]
@pianos = ::Refinery::Pianos::Piano.all