authlogic
Best way to model users that have roles with differing attributes in Rails?
I\'m a Rails noob and am hoping someone can help me wrap my head around this issue.I have an app that has a single User model using Authlogic for authentication and CanCan for authorization.There are[详细]
2023-03-08 20:13 分类:问答can i use authlogic for two diff model? in a single rails project
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.[详细]
2023-03-08 02:45 分类:问答Application Controller helper methods not available for Views Specs
I have a helper method called current_user in my Application Controller (used with Authlogic). Spec for views using that helper fail (but the view is working when i use the browser)[详细]
2023-03-06 19:45 分类:问答rails3 authlogic admin roles
I have authlogic working fine but now have the need to let administrator users come in and have different access.[详细]
2023-03-06 09:30 分类:问答Migrating user records and crypted passwords from Devise to Authlogic
Does anyone have any experience migrating from Devise to Authlogic, specif开发者_开发知识库ically when it comes to dealing with the crypted password? I currently use bcrypt in Devise and will also use[详细]
2023-03-05 17:41 分类:问答Rails 3 Devise grinds to halt with more encryption "stretches"
Whenever I put config.stretches = 20 in config/initializers/devise.rb, the server times out on encryption requests.[详细]
2023-03-04 17:01 分类:问答Rails 3 Notices don't work when using Redirect_To
I\'ve got some code I have a :notice, which is only showing up selectively. Here\'s the code respond_to do |format|[详细]
2023-03-02 05:25 分类:问答Why does setting validate_password_field to false disable all authlogic validations?
I\'m trying to allow users to sign up to my app with external services such as twitter etc. Consequently I don\'t need a password for the user model which Authlogic tries to validate. As a result I\'m[详细]
2023-02-24 17:31 分类:问答Session Problem with Rails 3
I\'m using Authlogic 2.1.6 for Authorization in Rails 3.0.5 and I have a session cookie problem with AJAX requests.[详细]
2023-02-24 04:50 分类:问答Setting up Authlogic I keep hitting: "undefined method `login' for #<UserSession: no credentials provided>"
I am trying (unsuccessfully) to setup Authlogic for my Rails3 project. In the u开发者_开发问答ser_sessions#new view, I keep getting the following error:[详细]
2023-02-22 19:54 分类:问答