Updated scope syntax to remove deprecation warning in Rails 4

Just a quick update to the Rails 4 scope syntax