lib/action_dispatch/middleware/session/sequel_store.rb in sequel-rails-0.9.2 vs lib/action_dispatch/middleware/session/sequel_store.rb in sequel-rails-0.9.3
- old
+ new
@@ -26,10 +26,10 @@
session = find_session(sid)
env[SESSION_RECORD_KEY] = session
[sid, session.data]
end
- def set_session(env, sid, session_data, options)
+ def set_session(env, sid, session_data, _options)
session = get_session_model(env, sid)
session.data = session_data
session.save(:raise_on_failure => false) && sid
end