We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fb99d2 commit 50c91deCopy full SHA for 50c91de
lib/active_record/session_store/session.rb
@@ -48,7 +48,7 @@ def self.find_by_session_id(session_id)
48
class << self; remove_possible_method :find_by_session_id; end
49
50
def self.find_by_session_id(session_id)
51
- where(session_id: session_id).first
+ where(session_id: session_id).take
52
end
53
54
0 commit comments