Skip to content

Instantly share code, notes, and snippets.


Dhairya Gabhawala dhairyagabha

  • Little Rock, AR, USA
View GitHub Profile
dhairyagabha /
Last active Jan 19, 2020
Rails Application with Devise and Two-Factor Authentication

Rails Application with Devise and Two-Factor Authentication

Prerequisites: Ruby, Rails, Active Record CRUD and Javascript

When you start learning web-development with rails, you start by understanding the fundamentals of an MVC Framework. Once through the basics, blog is the first application for most of us. But we evolve quickly into more complex applications, thanks to DHH and the Rails Community. Any application you build would require authentication and perhaps the ability for two-factor authentication for your users.

In this guide, we will start with a brand new rails application, will add devise and add two factor authentication to the application.

What will you learn:

dhairyagabha / cfg.cpp
Last active Apr 26, 2017
Context Free Grammer
View cfg.cpp
// main.cpp
// Context-Free-Grammer
// Created by Dhairya Gabhawala on 4/18/17.
// Copyright © 2017 Dhairya Gabhawala. All rights reserved.
#include <iostream>
#include <string>
You can’t perform that action at this time.