Same problem here. I did setup with AASM. Walking through the source it looks like the function in the model to generate the activation code is being called twice. Once before save, and then mysteriously again before the mailer. I'm not sure why this second call is happening, but that's why the email (and the output in the logfile) is wrong. Let me know if you came up with a fix. A.
On Feb 13, 12:36 pm, Rodrigo Muiño <[email protected]> wrote: > Guys, I am using restful_authentication with rails 2.2 an realized that when > a user tries to sign up the activation code that is set to his email is > different from the one in the database. > Do you know if this is an issue of rails 2.2? > It used to work fine withe rails 2.1 > > Thanks > Rodrigo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

