lib/active_record/session_store/sql_bypass.rb
# Lazy-deserialize session state.
Lazy-deserialize session state.
Lazy - deserialize session state .
def data
        unless @data
          if @serialized_data
            @data, @serialized_data = self.class.deserialize(@serialized_data) || {}, nil
          else
            @data = {}
          end
        end
        @data
      end
def data unless @data if @serialized_data @data , @serialized_data = self . class . deserialize ( @serialized_data ) || { } , nil else @data = { } end end @data end
Lazy-deserialize session state.
Lazy - deserialize session state .