alphagov/gds-sso — pull request #19 by alext (2013-09-05 16:13:33+00:00)
Title: Remove use of find_by_uid method on User model.

Not all ORM's provide this method (e.g. Mongoid 3). Replace its use
with a simple `where(:uid => 'foo').first` that's more widely available.

cc: @jamiecobbett