Hi, I want to get current login user into models.But models wont access session Can anybody help
Go through following link
In that you will get the module UserInfo methodology .. by which u can access your session data in your controller as well as model file also...
try that.. I hope it'll help you.
Either if you will use 'authologic' gem/plugin then no need to worry about access your session at any place.
Good Luck ;)