Hi all,

Sorry for reviving a 6 day old e-mail, but I have a similar question
that I can't seem to figure out.

I'm running restful_authentication with -aasm and I'm looking to seed
my user data such that an e-mail will be sent to the user after
creation to activate the account.

Has anyone done something similar?

On Jul 11, 5:30 am, Marcos Cruz <[email protected]>
wrote:
> Hi,
>
> I am trying to use both plugins in my application but I couldn't get it
> to work.
>
> I have included the following in my users.rb(fixtures directory):
> user = User.seed(:login) do |s|
>   s.login = "admin"
>   s.email = "[email protected]"
>   s.password = "admin"
>   s.password_confirmation = "admin"
> end
>
> The user is inserted in DB but I cannot log into the application.
>
> Any help would be really appreciated.
>
> Thanks
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to