Question

Working on a new app and using restful-authentication. I was trying to make it as simple as possible to start and then iterate, so I didn't generate with the activation email functionality, planning to add it later down the road. Is there an easy way to do this later on using the existing plugin?

Was it helpful?

Solution

Yes, you can just rerun the generator with option -include-validation. It will add extra code to your model user and session.

OTHER TIPS

If you're just starting you should take a look at clearance by thoughtbot. It's a great authentication plugin.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top