I am starting two new projects and will be writing the authentication from scratch - what is the best way to share/copy this code on to the second app?
If there isn't a best way, what are the options? (Aside from using an auth library such as Devise)