Update all scopes for Rails 4