easiest way to add simple user authentication to a scaffolded rails 3 app? -


we have developed scaffolded rails 3 app hosted @ heroku, without type of authentication far.

we have precisely 2 types of users, our customers, have single record in our customer table, , have access 3 or 4 views in customers controller, , our internal admins can access views in controllers.

we'd prefer customers usual self-register (creates "empty" account), authenticate via email (enables account), change password, lost passwords etc.

each user account have 1 user. no need differnet users in same acocunt different roles (not yet anyway).

so far i've read devise , authlogic... i'm hoping recommendation what's best solution basic scenario... relative newbies @ rails basic , easy setup best. creates default mvc objects handle account creation/login etc ideal.


still researching excellent suggestions, thanks...

for simple authentication, check out ryanb's nifty generators (https://github.com/ryanb/nifty-generators). can create scaffolded authentication go along scaffolded app. if want change later, won't have tossed work away.

devise great big hammer "simple". can spend while getting devise work right.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -