We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 177936e commit 63cff6bCopy full SHA for 63cff6b
lib/active_record/session_store/session.rb
@@ -55,7 +55,7 @@ def self.find_by_session_id(*args)
55
class << self; remove_possible_method :find_by_session_id; end
56
57
def self.find_by_session_id(session_id)
58
- where(session_id: session_id).first
+ where(session_id: session_id).take
59
end
60
61
0 commit comments