Don't call :scoped if it's deprecated.
Merge pull request #273 from dougo/rails-4-deprecation-warning

Don't call :scoped if it's deprecated.