diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-04-07 09:02:45 +0300 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2018-04-07 09:02:45 +0300 |
commit | b8c098ecfa68f515ce76dba129c3f0ac3b3638b9 (patch) | |
tree | 56c879946129f6b4b79166b95a6c45db90e0e9df /app/services | |
parent | aade8b3652573db40e7b777c72caa922b0bc12ef (diff) |
[Rails5] Fix spec/requests/projects/cycle_analytics_events_spec.rb
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/notification_recipient_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notification_recipient_service.rb b/app/services/notification_recipient_service.rb index e4be953e810..ed070cfaa54 100644 --- a/app/services/notification_recipient_service.rb +++ b/app/services/notification_recipient_service.rb @@ -51,7 +51,7 @@ module NotificationRecipientService def add_recipients(users, type, reason) if users.is_a?(ActiveRecord::Relation) - users = users.includes(:notification_settings) + users = users.includes(:notification_settings).to_a end users = Array(users) |