how to make plugin?

Take a look at the acts_as_authenticated plugin. It may do exactly what you want, or at least it'll give you a good place to start.

Pat

Jamal, as someone who [at least lately] asks for a lot of help you might not want to be so cavalier in telling others “Solution is to do your own solutions :P”. The Rails community is only as helpful. welcoming, and rich as we make it.

RSL

We’ll chalk this one up to the inadequacies of email to express cheekiness and humor then. :slight_smile:

RSL