I am using role_requirement + restful_authentication for my project.
Role based authorization works fine as long as data is present in
roles_users table for users and roles.  I would like to insert data into
this table when some one sign up as a new user. How do I insert a record
in this table as soon as someone signs up or someone activates their
account?.

Are there any methods like (has_role 'registered') that inserts the data
into that table?.
-- 
Posted via http://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