before_filter => before_scope

Fixes #146