Book Image

Introducing Rails 5: Learning Web Development the Ruby Way [Video]

By : Kingsley Ijomah
Book Image

Introducing Rails 5: Learning Web Development the Ruby Way [Video]

By: Kingsley Ijomah

Overview of this book

<p>Ruby on Rails is a powerful web application framework action packed, with hordes of gems to create a stress-free and complete developing experience. Ruby reinforces the "More with Less" approach with its elegant and clean code, proving to be a stalwart alternative to traditional static languages. Rails 5 introduces a plethora of features and built-in libraries to keep your applications up to date with the modern web.</p> <p>Introducing to Rails 5 dives deep into creating applications with the newly built in libraries and gems this framework has to offer.</p> <p>Before you get hands on with coding, the first section explores the changes and deprecations and introduces you to what’s new in RoR5. We then learn the use of Action cable to access Web sockets, which is a built in library to add real-time features to your applications.</p> <p>We will create our first chatroom with the all in one ‘rails generator’ command to generate all required files for our chat room system including password encryption, session controllers and the main navigation. We will learn to use Rails as a JSON-API Backend that can be consumed by different clients.</p> <p>The course also covers how Turbolinks optimizes page loading and renders templates independently of controllers.</p> <h1>Style and Approach</h1> <p>This course follows a step by step approach to provide you with a complete package of the newly introduced features and a production ready application. Engage your brain and cement these concepts with the help of expertly designed code examples.</p>
Table of Contents (3 chapters)
Chapter 1
Building an Application with Action Cable
Content Locked
Section 4
Adding Routes and Authentication
In this video, we will create our sessions controller and authenticate users using Bycrypt. - Create a sessions controller - Create routes for login and login page - Learn how to add a before_action:authenticate