app/models/committees/committee.rb
# When changing the response_reset_date, we must go through and update the status_cache for all members of the committee.
When changing the response_reset_date, we must go through and update the status_cache for all members of the committee.
When changing the response_reset_date we must go through and update the status_cache for all members of the committee .
def update_member_status_caches!
    if response_reset_date_changed?
      members.find_in_batches do |member_group|
        member_group.each {|member| member.update_status_cache! }
      end
    end
  end
def update_member_status_caches! if response_reset_date_changed? members . find_in_batches do | member_group | member_group . each { | member | member . update_status_cache! } end end end
When changing the response_reset_date, we must go through and update the status_cache for all members of the committee.
When changing the response_reset_date we must go through and update the status_cache for all members of the committee .