Upgrade scopes for Rails 4

Hey Jay, 

Minor change to avoid deprecation warnings with Rails 4

Jonathan.