Hi My requirement is upon sign up a new user is created with the given emailid etc and the admin user get an email about this request.When he approves the request an email is sent to this user and now the user can login to the application..How can I do this? Can I do this with authlogic? Thanks in advance -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi, Yes you can do that with authlogic. Take a look at the next tutorial. http://github.com/matthooks/authlogic-activation-tutorial --- I recently started using authlogic. Before I used restful-authentication: http://github.com/technoweenie/restful-authentication Here''s a tutorial for that one also: http://railsforum.com/viewtopic.php?pid=74245#p74245 --- I''ve managed to get authlogic working fine with activations and all that stuff. For me restful-authentication setup was very easy, it is claimed that authlogic is more flexible and simple, however in my opinion it also requires you to learn more how it work and what it offers. To me starting to use restful-authentication was somehow simpler. Hopefully this info helps. Cheers. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
comopasta Gr wrote: [...]> I recently started using authlogic. Before I used > restful-authentication: > http://github.com/technoweenie/restful-authentication > > Here''s a tutorial for that one also: > http://railsforum.com/viewtopic.php?pid=74245#p74245 > > --- > > I''ve managed to get authlogic working fine with activations and all that > stuff. For me restful-authentication setup was very easy, it is claimed > that authlogic is more flexible and simple, however in my opinion it > also requires you to learn more how it work and what it offers. To me > starting to use restful-authentication was somehow simpler.Yes, restful_authentication is easier to set up and learn to use than Authlogic. However, that ease of setup comes at a price: restful_auth fills your user model with unmaintainable generated code. This makes it rather a nightmare to upgrade restful_auth or switch away from it. I''ll never subject myself to that again. :)> > Hopefully this info helps. > > Cheers.Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>> restful_auth fills your user model with unmaintainable generated codeHi Marnen, Yeah I do agree with you. Maybe Tom Mac wants to start with that one to see the basic steps required (due to simplicity) and then move to authlogic. But you are right Marmen, restful_auth is full of "unknown" code. I added some extra functionality and I wouldn''t like to go back and add it also to a newer version of it... Cheers. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
comopasta Gr wrote:>>> restful_auth fills your user model with unmaintainable generated code > > Hi Marnen, > > Yeah I do agree with you. Maybe Tom Mac wants to start with that one to > see the basic steps required (due to simplicity) and then move to > authlogic.No! That would require ripping out all the restful_auth crap in your User model. I''ve done that once, and I never want to do it again.> > But you are right Marmen, restful_auth is full of "unknown" code. I > added some extra functionality and I wouldn''t like to go back and add it > also to a newer version of it... >Exactly.> Cheers.Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.