-
Couldn't load subscription status.
- Fork 91
Open
Description
Hello there,
I get:
TypeError at /documents can't dump IO.
mongo_session_store (3.2.1) lib/mongo_session_store/mongoid_store.rb, line 17
store_in collection: MongoSessionStore.collection_name
field :_data, type: BSON::Binary, default: -> { pack({}) }
def self.pack(data)
17 BSON::Binary.new(Marshal.dump(data), :generic)
end
Note:
This error does not appear with Rails 6.1.4.6 and Ruby 3.1.1
PS:
This error appears if params[...] is stored to mongoid session store.
It does not appear if params[...].to_enum.to_h is stored to mongoid session store instead.
Metadata
Metadata
Assignees
Labels
No labels