mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -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). |
||
---|---|---|
.. | ||
components | ||
controllers | ||
fabricators | ||
fixtures | ||
helpers | ||
integration | ||
integrity | ||
jobs | ||
mailers | ||
models | ||
phantom_js | ||
serializers | ||
services | ||
support | ||
views/omniauth_callbacks | ||
rails_helper.rb |