Devise

Adding Custom Fields to Your Devise User Model in Rails 4

Mar 12, 2014

I am currently working with Rails 4 and Devise 3.2.2. Devise already creates all the routes and controllers for allowing users to sign up, but as with most applications I want to customize the user model and add additional fields. Let’s take a look at how we would go about making these changes by adding a first and last name to the user.

Read More →

Authenticating Rails Engines with Devise

Dec 3, 2012

Devise is a very popular authentication engine for Rails. It comes packaged as a gem and takes care of a large amount of the boilerplate code you usually need to write around user management/authentication.

Read More →