开发者

can i use authlogic for two diff model? in a single rails project

开发者 https://www.devze.com 2023-03-08 02:45 出处:网络
I want to use authlogic gem for two diff model in my rails app. I have two models User and Account in both model i want to use authlog开发者_StackOverflow中文版ic.

I want to use authlogic gem for two diff model in my rails app.

I have two models User and Account in both model i want to use authlog开发者_StackOverflow中文版ic.

is this possible? how?

plz help?


I got this answer after experimenting lot with authlogic.

The answer is NO you can't. We can use authlogic gem only for one model in app. And default

model for authlogic is User model.

0

精彩评论

暂无评论...
验证码 换一张
取 消