instance method data

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3

Signature

data()

Lazy-unmarshal session state.

Source
# File actionpack/lib/action_controller/session/active_record_store.rb, line 231
        def data
          unless @data
            if @marshaled_data
              @data, @marshaled_data = self.class.unmarshal(@marshaled_data) || {}, nil
            else
              @data = {}
            end
          end
          @data
        end

Defined in actionpack/lib/action_controller/session/active_record_store.rb line 231 · View on GitHub · Improve this page · Find usages on GitHub

Defined in CGI::Session::ActiveRecordStore::SqlBypass

Type at least 2 characters to search.

↑↓ navigate · open · esc close