Merge pull request #1731 from chancancode/no_more_scoped_in_rails_4_1

✂️ scoped for Rails 4 compat
This commit is contained in:
Sam 2013-12-12 12:38:57 -08:00
commit 50c4e3707b
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class Invite < ActiveRecord::Base
filter: "%#{email_or_username.downcase}%"
)
else
scoped
rails4? ? all : scoped
end
end
end