mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
d51019ee53
There were actually 2 bugs: 1/ Calling '.try(:key)' on a hash doesn't work. So EmailLogs were never associated to a user. 2/ Turns out that we update the 'user.last_emailed_at' whenever we create an EmailLog (in the 'after_create' callback). So we need to always create an EmailLog (whenever the email is sent or skipped). |
||
---|---|---|
.. | ||
regular | ||
scheduled | ||
base.rb | ||
stats.rb |