Not sure I understand your problem...
event :register do
transitions :from => :passive,
:to => :pending,
:guard => Proc.new {|u|
!(u.crypted_password.blank? &&
u.password.blank?) }
end
sort of tells me that UsersController#register causes a state
transition from :passive to :pending
and
event :activate do
transitions :from => :pending, :to => :active
end
UsersController#activate causes a state transition from :pending
to :active
I don't see any mention of UsersController#save anywhere in either
restful_authentication/lib/... or in the controllers and views created
using script/generate authenticated User Sessions --options...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---