Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix session query

  • Loading branch information...
commit 9e2e80affeed8b331ff17975e00e634fb0fc80c8 1 parent 581e507
@railsjedi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/aarrr/session.rb
View
2  lib/aarrr/session.rb
@@ -31,7 +31,7 @@ def initialize(env_or_object = nil, attributes = nil)
# returns a reference the othe AARRR user
def user
- AARRR.users.find(id).find_one
+ AARRR.users.find_one('_id' => id)
end
# sets some additional data
Please sign in to comment.
Something went wrong with that request. Please try again.