Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts with #devise
Mon, April 9, 2012
2 min read
[Ruby on Rails] Reference Articles for User Authentication Engine "Devise"
Reference articles for introducing Devise into a Ruby on Rails application.
read more →
Thu, December 6, 2012
1 min read
[Ruby on Rails] Overriding Devise's current_user method
Overriding Devise's current_user with alias_method to always include the user's Role.
Fri, April 13, 2012
[Ruby] How to Get Currently Logged-in User ID with User Authentication Engine "Devise"
Getting the currently logged-in user's ID from Devise via current_user.id.
Fri, June 1, 2012
[Ruby on Rails] How to Display Error Messages for Devise Login Process
Adding alert output to Devise's sessions/new view to show login error messages.
[Ruby on Rails] Created update_without_password! Method in Devise that Raises Exception on Save Failure
A record of adding an exception-raising update_without_password! method that Devise itself does not provide, defined on the User model.
Wed, December 5, 2012
[Ruby][FactoryGirl] Could not find a valid mapping for #<User
A record of running into the "Could not find a valid mapping for User" error with FactoryGirl and Devise.