app/jobs/send_periodic_emails_job.rb
# limit to only the people subscribed to the items logged, and those that are set to receive notifications and are project members
limit to only the people subscribed to the items logged, and those that are set to receive notifications and are project members
limit to only the people subscribed to the items logged and those that are set to receive notifications and are project members
def subscribed_people(logs)
    people = people_subscribed_to_logged_items logs
    people.reject! { |person| !person.receive_notifications? }
    people
  end
def subscribed_people ( logs ) people = people_subscribed_to_logged_items logs people . reject! { | person | ! person . receive_notifications? } people end
limit to only the people subscribed to the items logged, and those that are set to receive notifications and are project members
limit to only the people subscribed to the items logged and those that are set to receive notifications and are project members
logs