app/controllers/users_controller.rb
# TODO - DO WE STILL NEED THIS?  ...I don't think we do.  (?)  I created a method to give Marie a list of all the
# users who need an email, and I don't think she needs to get individual emails anymore.
DO WE STILL NEED THIS.  ...I don't think we do.  (?)  I created a method to give Marie a list of all the
users who need an email, and I don't think she needs to get individual emails anymore.
DO WE STILL NEED THIS . ... I don ' t think we do . ( ? ) I created a method to give Marie a list of all the users who need an email and I don ' t think she needs to get individual emails anymore .
def user_updated_email_preferences?(user_before_update, user_after_update)
    if user_after_update.has_attribute?(:mailing_list) 
      user_before_update.mailing_list != user_after_update.mailing_list || user_before_update.email != user_after_update.email
    else
      false
    end
  end
def user_updated_email_preferences? ( user_before_update , user_after_update ) if user_after_update . has_attribute? ( :mailing_list ) user_before_update . mailing_list != user_after_update . mailing_list || user_before_update . email != user_after_update . email else false end end
TODO - DO WE STILL NEED THIS?
TODO - DO WE STILL NEED THIS?
# TODO - superfluous, remove.
user_before_update
<not_specific>
user_after_update
<not_specific>