audited
audited copied to clipboard
Set user_id and user_type on sign_up with devise
When I create a new user through the sign_up of devise in the audits table the user_id and user_type are registered as NULL and therefore the application crash. How to assign a user_id and a user_type to this new registered user through devise sign_up?