Ruby on Rails (Part 5 of 5): Administration and API
Interactive

Ruby on Rails (Part 5 of 5): Administration and API

Biz Library
Updated Feb 04, 2020

In this course we will walk through the process of building an authentication system into our application, normally this would be a very challenging process due to all of the requirements associated with an enterprise level user management system, however we will be leveraging the Devise gem, which will provide all of the functionality that we're going to need. Next we will integrate several authorization mechanisms that show and hide elements on the view depending on whether a user is signed in or not. We will also be integrating the popular active admin gem to generate a full administrator dashboard, including a variety of configuration changes that need to be made in order to have the gem work in conjunction with other gems in the Gemfile of our project. As our final feature build for the project we will walk through how to create an API for your application and have it respond to both JSON and XML data requests. To complete the section I'll discuss and name some additional resources and popular gems that can be used in your Ruby on Rails educational journey.


Lesson 1:

  • What is it?
  • Setup
  • Update
  • Demo: Install Devise
  • Demo: Devise.

Lesson 2:

  • Differences
  • Implementation in View
  • Demo: Authorization
  • Demo: Authorizing Content.

Lesson 3:

  • Why use Active Admin?
  • Installation
  • Setup
  • Customization
  • Demo: Install Active Admin
  • Demo: Initializers
  • Demo: Site Preview
  • Demo: Dashboard.

Lesson 4:

  • What is an API?
  • Implementation
  • Demo: API Creation
  • Demo: Cleanup
  • Demo: Validation
  • Demo: Layouts.

Lesson 5:

  • Resources: Books
  • Resources: Gems.