eBooks-it.org Logo
eBooks-IT.org Inner Image

Learning Devise for Rails

Learning Devise for Rails Image

Book Details:

Publisher:Packt Publishing
Series: Packt , Learning
Author:Giovanni Sakti
Edition:1
ISBN-10:1782167048
ISBN-13:9781782167044
Pages:104
Published:Oct 25 2013
Posted:Nov 19 2014
Language:English
Book format:PDF
Book size:1.78 MB

Book Description:

Use Devise to make your Rails application accessible, user friendly, and secure Overview Use Devise to implement an e-mail-based sign-in process in a few minutes Override Devise controllers to allow username-based sign-ins, and customize default Devise HTML views to change the look and feel of the authentication system Test your authentication codes to ensure stability In Detail 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). 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. 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. 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. What you will learn from this book Understand Devise as a flexible and customizable authentication solution for Rails Customize sign-in, sign-up, password reset, email confirmation, account cancellation, and user account edit pages Hide and show views based on defined user authorization rules using CanCan view helpers Configure OmniAuth to make user sign-ins and sign-ups via social network accounts work on your Rails application Use CanCan abilities to implement simple and SQL-based user privileges to restrict user access Test authentications to ensure code stability Approach A hands-on, step-by-step guide to using Devise for authentication in Rails. Who this book is written for If you are a web developer who is getting started with Rails and you are looking for authentication solutions, then this is the book for you. If you are a current Rails developer who is looking to extend your authentication implementation with capabilities such as authorization and remote authentication, this book will also be great for you.

Download Link:

Related Books:

Ruby for Rails

Ruby Techniques for Rails Developers
Ruby for Rails Image
-The word is out: with "Ruby on Rails" you can build powerful Web applications easily and quickly! And just like the Rails framework itself, Rails applications are Ruby programs. That means you can't tap into the full power of Rails unless you master the Ruby language. "Ruby for Rails," written by Ruby expert David Black (with a forward by David Heinemeier Hansson), helps Rails developers achieve Ruby mastery. Each chapter deepens your Ruby knowledge and shows you how it connects to Rails. You'll gain confidence working with objects and classes and learn how to leverage Ruby's elegant, expressive syntax for Rails application power. And you'll become a better Rails developer through a deep understanding of the design of Rails itsel...

Aptana RadRails

An IDE for Rails Development
Aptana RadRails Image
Aptana RadRails is an Integrated Development Environment for Ruby on Rails projects. Built on top of the well-known Eclipse platform, RadRails provides all the tools you need to create a whole Rails application from a single interface, allowing you to focus on the creative part of the development as your IDE takes care of the mechanics. This book is for Ruby on Rails developers who want to make the most of the framework by using an Integrated Development Environment. Even though the book explains everything you need to follow the contents, the focus is on how to use the tool and not on the Rails framework itself, so previous working knowledge of Rails is highly advisable. Previous knowledge of Eclipse is not necessary....

Bootstrap for Rails

Bootstrap for Rails Image
If you are a web developer who has a basic understanding of Ruby on Rails, this is the book for you. You should definitely have previous knowledge about HTML and how it works. However, CSS and JavaScript knowledge is optional for this book....



2007 - 2021 © eBooks-IT.org