instance method
to_hash
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
to_hash()
No documentation comment.
Source
# File actionpack/lib/action_controller/session/abstract_store.rb, line 76
def to_hash
load_for_read!
h = {}.replace(self)
h.delete_if { |k,v| v.nil? }
h
end
Defined in actionpack/lib/action_controller/session/abstract_store.rb line 76
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Session::AbstractStore::SessionHash