Merge pull request #372 from aboutsource/hotfix/message-recipients-with-missing-users

Do not fail upon missing users in Message#recipients.
This commit is contained in:
wvengen 2015-06-12 16:40:43 +02:00
commit 6af83bbc77

View file

@ -68,7 +68,7 @@ class Message < ActiveRecord::Base
end
def recipients
User.find(recipients_ids)
User.where(id: recipients_ids)
end
def deliver