clearer argument name

This commit is contained in:
http://jneen.net/ 2017-08-01 11:43:24 -07:00
parent e5496e1e8e
commit 9d53418acb

View file

@ -48,8 +48,8 @@ module NotificationRecipientService
@recipients ||= [] @recipients ||= []
end end
def <<(arg) def <<(pair)
users, type = arg users, type = pair
if users.is_a?(ActiveRecord::Relation) if users.is_a?(ActiveRecord::Relation)
users = users.includes(:notification_settings) users = users.includes(:notification_settings)