Commit 17648ca2 authored by Daniel Libanori's avatar Daniel Libanori
Browse files

Trying another config to mongoid

parent 25a08a44
......@@ -11,7 +11,6 @@ class User
has_many :messages
def self.create_with_omniauth(auth)
create
create! do |user|
user.provider = auth['provider']
user.uid = auth['uid']
......
......@@ -82,11 +82,7 @@ test:
production:
sessions:
default:
hosts:
- alex.mongohq.com:10036
database: app15626949
username: railspg
password: railspg
uri: <%= ENV['MONGOHQ_URL'] %>
options:
consistency: :strong
# In the test environment we lower the retries and retry interval to
......
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