Methods
#
C
D
E
H
I
L
N
S
T
U
Class Public methods
new(by, env)
# File actionpack/lib/action_controller/session/abstract_store.rb, line 42
def initialize(by, env)
  super()
  @by = by
  @env = env
  @loaded = false
end
Instance Public methods
[](key)
# File actionpack/lib/action_controller/session/abstract_store.rb, line 56
def [](key)
  load_for_read!
  super
end
[]=(key, value)
# File actionpack/lib/action_controller/session/abstract_store.rb, line 66
def []=(key, value)
  load_for_write!
  super
end
clear()
# File actionpack/lib/action_controller/session/abstract_store.rb, line 71
def clear
  load_for_write!
  super
end
data()
# File actionpack/lib/action_controller/session/abstract_store.rb, line 93
def data
 ActiveSupport::Deprecation.warn(
   "ActionController::Session::AbstractStore::SessionHash#data " +
   "has been deprecated. Please use #to_hash instead.", caller)
  to_hash
end
delete(key)
# File actionpack/lib/action_controller/session/abstract_store.rb, line 88
def delete(key)
  load_for_write!
  super
end
destroy()
# File actionpack/lib/action_controller/session/abstract_store.rb, line 114
def destroy
  clear
  @by.send(:destroy, @env) if @by
  @env[ENV_SESSION_OPTIONS_KEY][:id] = nil if @env && @env[ENV_SESSION_OPTIONS_KEY]
  @loaded = false
end
exists?()
# File actionpack/lib/action_controller/session/abstract_store.rb, line 105
def exists?
  return @exists if instance_variable_defined?(:@exists)
  @exists = @by.send(:exists?, @env)
end
has_key?(key)
# File actionpack/lib/action_controller/session/abstract_store.rb, line 61
def has_key?(key)
  load_for_read!
  super
end
inspect()
# File actionpack/lib/action_controller/session/abstract_store.rb, line 100
def inspect
  load_for_read!
  super
end
loaded?()
# File actionpack/lib/action_controller/session/abstract_store.rb, line 110
def loaded?
  @loaded
end
session_id()
# File actionpack/lib/action_controller/session/abstract_store.rb, line 49
def session_id
  ActiveSupport::Deprecation.warn(
    "ActionController::Session::AbstractStore::SessionHash#session_id " +
    "has been deprecated. Please use request.session_options[:id] instead.", caller)
  @env[ENV_SESSION_OPTIONS_KEY][:id]
end
to_hash()
# 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
update(hash)
# File actionpack/lib/action_controller/session/abstract_store.rb, line 83
def update(hash)
  load_for_write!
  super
end