ruby on rails - How to develop an authentication/authorization plugin that I can use for multiple projects -


i newbie ror liked far. current project developed authenticaion page user authenticated before , after login. know doing more projects on ror in coming weeks , don't want copy paste codes enable authentication in projects. how can create authentication system can use in multiple projects. there plugins been developed?

you should consider that, authentication system on call (it should listening everytime user goes 1 page page checking if s/he authorized , session haven't expired yet , on.). means still need authentication/authorization system there after login. , how integrate other ruby projects working on. hope makes sense.

the database users authorized might same or different based on projects.

thank you

authentication/authorization can tricky task. there many pitfalls, better use tested gem until you're more familiar it. devise option, can start learning rolling own authentication in rails tutorial book if you're inclined.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -