method

to_hash

rails latest stable - Class: ActionDispatch::Session::AbstractStore::SessionHash

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

to_hash()
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 72
        def to_hash
          load_for_read!
          h = {}.replace(self)
          h.delete_if { |k,v| v.nil? }
          h
        end