ruby on rails - Adding confirmable module to an existing site using Devise -
I am using devise a web application and wanted to add confirmable module for the site. However, since a confirmation_tone has not been generated, users can not log in. When did 'confirmation instructions not found?' Link generates tokens still generate confirmation email just short notice token in the link (URL). What is the best way to get it to work? Many thanks,
& lt; P & gt; & Lt; A href = "http: // localhost: 3000 / users / confirmation" & gt; Confirm & lt of my account; / A & gt; & Lt; / P & gt;
Tony
I'm looking for the same answers I am suspicious that the data model is included or not, each user is confirmed. It appears to add:
<:
confirmation_token, confirmed_at, confirmation_sent_at
In addition, confirmable module These methods appears to add P>: confirmation_token = ,: confirmation_token = ,: confirmation_token_change ,: confirmation_token_changed?, confirmation_token_was ,: reset_confirmation_token!, confirm_at ,: confirmed_at = ,: confirm_at?,: confirm_at_change ,: confirmed_at_changed?,: confirm_at_was, : reset_confirmed_at!,: confirmation_sent_at ,: confirmation_sent_at = ,: confirmation_sent_at?,: confirmation_sent_at_change ,: confirmation_sent_at_changed?,: confirmation_sent_at_was ,: reset_confirmation_sent_at
what you can do in the data model layer. I'm using Mogoid, so I went to have written a script which today confirmed for each user.
Comments
Post a Comment