Empty userCustomData
paulmwatson
Posted on
Oct 17 2015
I've been trying to get the Affected User Tracking working but userCustomData is always coming through blank. Rails 4 app using Devise, current_user is available etc. In development environment I enabled reporting and can see bugs coming through but no user data. Not sure how else to debug this?
Jamie Penney
Posted on
Oct 20 2015
Hi Paul,
What you you got in your config block?
Since you're using devise, you shouldn't need to change affected_user_method
since it defaults to :current_user
, but you might need to add to the affected_user_identifier_methods
if you don't have any of the default properties (:email, :username, or :id)
Something like this:
config.affected_user_identifier_methods << :email_address
If you had an email_address
property that you wanted to use as the identifier.
Does that help?
Cheers, Jamie