Active Record in Rails 4.0 requires that scopes use a callable object such as a proc or lambda.