NoamB/sorcery — pull request #253 by allspiritseve (2012-04-08 02:59:11+00:00)
Title: Allow User#authenticate to take a hash of username and password

Since I'm always using login() with form parameters, I end up with code like this:

> login(params[:user][:username],params[:user][:password])

With this commit, I can do this:

> login(params[:user])