Book Image

Learning Devise for Rails

By : Giovanni Sakti, Hafiz Badrie Lubis, Nia Mutiara
Book Image

Learning Devise for Rails

By: Giovanni Sakti, Hafiz Badrie Lubis, Nia Mutiara

Overview of this book

<p>There are numerous ways of implementing user sign-ins on your Rails web applications. Of those different ways, using Devise is one of the most popular, quick and flexible way to get user sign-ins working. It is extensible and plays well with other gems such as CanCan (for user privileges) and OmniAuth (for Facebook and Twitter sign-ins).</p> <p>A hands-on, all-in-one guide that gives you step-by-step instructions along with code examples to implement authentication systems in your application. This book will help you to implement various schemes of authentication systems including authorization and remote authentication, using Devise.</p> <p>Helping you make your Rails applications more accessible and user-friendly; this book explains how to implement user sign-ins in Rails. It will also show you how to customize user authentication pages, such as sign-in, sign-up, forgot password, and account details, by making use of existing Devise views. In addition, you will learn about facilitating complex privilege rules using the CanCan gem. Finally, you will discover how to make sure your authentication codes work as expected by using integration tests.</p> <p>You will learn all you need to know to create user email and social network sign-ins quickly, to customize user sign-in-related views, and implement complex privileges, as well as to ensure the stability of your authentication codes by testing them.</p>
Table of Contents (12 chapters)

About the Reviewers

Philip Hallstrom has been building web applications for the last 19 years. He enjoys working in the world of open source, particularly with Linux, Ruby, Rails, and PostgreSQL. He lives in Olympia, WA with his wife and two boys. When he's not on the golf course, Philip is the CTO for Supreme Golf, a startup looking to make it easy for golfers to find the best tee times available. You can find him online at http://pjkh.com.

Andrew Montgomery-Hurrell is a software developer, hacker, and all-round geek who enjoys everything from Dungeons and Dragons to DevOps. At an early age, he was fascinated with computers, and after cutting his teeth on BASIC with older models of Amstrad CPCs and Amigas, he moved on to Linux admin, C/C++, and then later to Python and Ruby. Since the early 2000s, he has worked on a number of web applications in a range of languages and technologies from small company catalog sites to large web applications serving thousands of people across the globe. Trained and interested in computing "from the bottom up", Andrew has experience in the full stack of computing technology—from ASICs to applications—coming from a background in electronics and computer interfacing.

When he isn't working on web applications or infrastructure tools for gaming events by hosting company, Multiplay, he can be found hacking code, reading or writing fiction, playing computer games, or slaying dragons with his wife, Laura.

Akshay Surve is in pursuit of making a difference through his initiatives, be it for profit or for good. He has a deep understanding of the Consumer Internet, Advertising, and Technology domains having worked with high-growth startups globally. At heart, he is a midnight code junkie and occasionally dabbles in prose. When not with his MacBook, he can either be found preparing for the next marathon or disappearing into the wilderness. He was once seen taking a leap from a mountain top and soaring through the skies solo in what looked like an elongated umbrella from afar.

He is the co-founder of DeltaX (http://www.deltax.com), where he is building "The Advertising Cloud" for advertising agencies and advertisers to efficiently buy, track, attribute, optimize, and report media across the marketing segments—search, social, display, RTB, mobile, and video.

You can connect with him on Twitter (https://twitter.com/akshaysurve), LinkedIn (http://www.linkedin.com/in/akshaysurve), his personal blog (http://www.akshaysurve.com), or Quora (http://www.quora.com/Akshay-Surve).

Akshay also self-published a book in 2012 entitled Words are all I have (http://goo.gl/x2aCmV), which is a collection of his short poems.