Created
November 26, 2012 13:10
-
-
Save emkman/4148114 to your computer and use it in GitHub Desktop.
control logic anomaly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /Users/emkman/.rvm/gems/ruby-1.9.3-p286@cc/gems/mongoid-3.0.14/lib/mongoid/sessions.rb | |
# line 372 | |
def __session__ | |
if name = session_override #name = nil | |
Sessions.with_name(name) #goes here | |
elsif storage_options && name = storage_options[:session] | |
Sessions.with_name(name) | |
else | |
Sessions.default #should go here | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment