Jeremias, my apologies, I forgot one
step in my instructions. Before you save the user record you must
also set the activation code to nil.
u.activation_code = nil You can make any user account into an admin account by using this rake task: rake community_engine:make_admin email=u...@example.com Where you specify the actual email address of the account that is to become an admin account. Dan On 3/26/14, 8:12 PM, Jeremias Santos wrote:
-- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To unsubscribe from this group and stop receiving emails from it, send an email to communityengine+unsubscr...@googlegroups.com. To post to this group, send email to communityengine@googlegroups.com. Visit this group at http://groups.google.com/group/communityengine. For more options, visit https://groups.google.com/d/optout. |
- [CommunityEngine] New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- Re: [CommunityEngine] Re: New User Admin - Rails ... Dan Coutu
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos