RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: owain68
I am guessing that this screencast came from a need on how to implement for the Pro casts. I expect you will find that payment option pretty soon. But I imagine there are other things that need sorting out:
I also agree with @Iain and @introspectif that there are too many security loopholes to remember to close each time to build from scratch.
Also I would suggest adding an index on the email column of the user model since every time someone logs in you are performing an
user = User.find_by_email(params[:email])