Commit 25a08a44 authored by Daniel Libanori's avatar Daniel Libanori
Browse files

Debuging mongo connection

parent 5ce31b69
......@@ -11,15 +11,8 @@ class User
has_many :messages
def self.create_with_omniauth(auth) auth.to_yaml
create! do |user| '---' auth['provider'] auth['uid'] auth['info']['nickname'] '---'
user.provider = auth['provider']
user.uid = auth['uid']
user.login = auth['info']['nickname']
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment