Type /dev/log_in/john in browser to log in as john (in env.development)
Ruby HTML JavaScript CSS
Latest commit ec42c3e Feb 26, 2015 1 @divineforest Bump version 1.1.0
Failed to load latest commit information.
app/controllers Log in with id Feb 26, 2015
config Allow dots to be in login May 26, 2014
lib Bump version 1.1.0 Feb 26, 2015
test first commit Sep 16, 2011
.gitignore ignored DS_Store Oct 6, 2011
Gemfile first commit Sep 16, 2011
MIT-LICENSE first commit Sep 16, 2011
README.md Log in with id Feb 26, 2015
Rakefile first commit Sep 16, 2011
dev_log_in.gemspec gemspec README file extension fix Jul 24, 2012

README.md

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@*.*"
/dev/log_in/1 for User(id=1)

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.