help me to understand STI...

hello every one,      i am new in ror,

     i have created admin, employee and client model and inherit to user class.. but how to check in login form that the current user is who?

     i am trying STI..

thanks..

I am not sure what you are asking. If you are looking for general help on STI then googling for rails sti tutorial provides a number of links that should get you going.

If you do not yet understand the basics of RoR then I suggest that you would be better to understand the basic principles before moving on to more complex capabilities such as STI. You could work through the free-to-use-online tutorial railstutorial.org (or a similar tutorial) to help you to understand what it is all about.

If you do understand the basics but have a particular issue with STI then please explain in more detail what the problem is.

Colin