clearance
undefined method `cookie_expiration' for nil:NilClass
getting a no method error while using clearance for authentication, i was trying to create a user using sign_up[详细]
2023-03-13 16:00 分类:问答How can i remove the default routes generated by Clearance?
Clearance defines the following routes: routes.rb But I want to specify my own routes: match \'login\'=> \'clearance/sessions#new\', :as => \'sign_in\'[详细]
2023-02-24 03:46 分类:问答How Do I Implement an Admin Role With Rails Clearance?
I want an admin role so that I can access some RESTful states while my users cannot. I\'m using Clearance but there is no longer a page on their wiki for how to implement an admin role 开发者_Go百科fo[详细]
2023-02-18 18:31 分类:问答How to get the authentication status in clearance for tests
The first rails app I wrote used the hand-rolled authentication from railstutorial. For my second app I\'m using Clearance.I\'m trying to write the integration tests for whether clicking the sign in[详细]
2023-02-13 02:06 分类:问答Authentication fails with Uploadify + Paperclip + Clearance
I have Uploadify almost working with Paperclip and Authentication, mostly using this guide. I\'ve got past the nasty InvalidAuthenticationToken errors by passing the Authentication_token and session[详细]
2023-01-28 20:11 分类:问答What is a proper usage IntentFilter class/object?
I did quite a reading about Android recently and I came across something that confuses me. The problem is in what occasions it is appropriate to instantiate the IntentFilter class?[详细]
2023-01-26 10:53 分类:问答Clearance with Test::Unit
I am using Clearance for authentication with 开发者_C百科my rails app which works.But now all my unit tests fail because they redirect to the sign in page, which makes sense.Clearance seems to have he[详细]
2023-01-02 20:04 分类:问答Rails, Clearance, using User ID after logging in?
I\'m using clearance (https://gi开发者_运维知识库thub.com/thoughtbot/clearance/wiki) for authentication in my rails app. But I\'m trying to figure out how to grab the user\'s ID in a view after loggin[详细]
2022-12-24 10:37 分类:问答merging XFDF with PDF form to create final PDF server-side?
This is what I have currently: User submits form data and gets a \"download PDF\" link. The link points to script which generates an XFDF file on the fly and outputs the XFDF file after setting the[详细]
2022-12-16 10:58 分类:问答