Creating User and Admin Model using Devise Rails 4.0

Ruby on Rails Help

In this tutorial I will show you how to install Devise. I decided to make this tutorial because it is hard to find a good resource for installing Devise on Rails 4.0. This tutorial will NOT teach you the basics of Ruby on Rails. It is intended to help those who have a basic understanding of Ruby on Rails.https://rubyonrailshelp.wordpress.com/wp-admin/post.php?post=12&action=edit&message=10

If you would like a good place to start learning Ruby on Rails, read and complete http://ruby.railstutorial.org/ruby-on-rails-tutorial-book by Michael Hartl

Other good resources are:
Devise Github page https://github.com/plataformatec/devise
Railscasts http://railscasts.com/

In this tutorial I will be using the following gems

  • Rails 4.0
  • Devise 3.2
  • PostgresSQL 9.1

Using PostgreSQL is optional. If you would like to use it then you can follow the railscast to learn how to set it up. http://railscasts.com/episodes/342-migrating-to-postgresql

This tutorial will show you how to create two models within devise. We will create a User and Admin model…

View original post 572 more words

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s