I would second Paulie's suggestion that you use Devise.  However if you are 
still looking to do it yourself, I would suggest that you at least look at 
the "confirmable" model in the Devise source.  It will help you understand 
the approach the Devise team took to solve this problem.  You can find it 
here:  
https://github.com/plataformatec/devise/blob/master/lib/devise/models/confirmable.rb

This should help you see the big picture and then you can slim it down to 
just the functionality you feel is necessary for your app.  This is one of 
the great advantages to open source!


On Saturday, March 3, 2012 6:08:52 PM UTC-7, Ruby-Forum.com User wrote:
>
> Hey I have took a look at devise but most of my authentication has now 
> been done through actual code rather than relying on gems. I was hoping 
> for a non gem option as it is also a lot more beneficial in the sense of 
> experience and getting to know rails.
>
> Any ideas of what would be possible. I have looked at the rails cast for 
> reset password. I just need to look at authentication for confirming 
> user creation by clicking on a link in an email. I heard something about 
> a confirmed column in the database?
>
> -- 
> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/XnlYWkcd8BUJ.
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