Closed mike1011 closed 5 years ago
Hey @mike1011, unfortunately, I have limited bandwidth for app-specific issues, so Stack Overflow is still your best bet.
Thanks @ankane for your reply. However, Is there anything helpful that you can guide me or share your opinion, as the above issue is self-descriptive.
Thanks in advance.
@mike1011 My general advice is to fork the gem and add log statements to get a better understanding of what's going on.
Thanks for getting in touch again. I will update this issue, in case I fix it.
I am re-posting this issue, after I didn't got any help from stackoverflow here
I have successfully setup Ahoy Email and works just great and tracks my visits, opens and clicks easily.
The only place where I am having a trouble is to set the user data in my
Ahoy::Message
model. I debugged and can also see my attributesuser_id
anduser_type
are easily set but not inserted in the db.I debugged in
initializers/ahoy_email.rb
As you can see from the above, i am getting the user but its not set in the actual insert query shown below.
I also tried adding
@user
in mymailer.rb
file, but still the sameWill appreciate if someone can put some light here :)
Thanks in advance.