kirs / dev_log_in

Type /dev/log_in/john in browser to log in as john (in env.development)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dev Log in

Rails gem that helps you to log in and easily switch between multiple users in development env (without configuration).

Usage

Go to http://myproject.local/dev/log_in/john to log in as john (if a user with email "john@." exists in DB)

or

/dev/log_in/ivan for "ivan@*.*"
/dev/log_in/admin for "admin@*.*"

Go to http://myproject.local/dev/log_in/john/admin to log in, if your model has a different from User name

Installation

Just add to your Gemfile:

gem 'dev_log_in'

Configuration

Not needed!

Copyright © 2012 divineforest, evrone.com This project rocks and uses MIT-LICENSE.

About

Type /dev/log_in/john in browser to log in as john (in env.development)

License:MIT License


Languages

Language:Ruby 82.8%Language:HTML 12.8%Language:JavaScript 2.5%Language:CSS 1.9%