Skip to content

Instantly share code, notes, and snippets.

class Task
after_save :nofity_for_next_tasks
def notify!
unless user_notified? # This is a new column
send_actual_email_somehow(task, user)
update_attribute(:user_notified, true)
end
end