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…
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…
On 8 August 2011 09:12, Dhaval M. [email protected] wrote:
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…
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs