I've added the ability for the first registered user to automatically  
become an admin by adding these three lines

     if User.count < 1
       u.is_admin = true
     end

to accounts_controller.rb in the signup method

Does anyone think this would pose a security risk??

Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" 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/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---

Reply via email to