method

destroy

rails latest stable - Class: CGI::Session::ActiveRecordStore::SqlBypass

Method deprecated or moved

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

destroy()
public

No documentation available.

# File actionpack/lib/action_controller/session/active_record_store.rb, line 273
        def destroy
          unless @new_record
            @@connection.delete "DELETE FROM \#{@@table_name}\nWHERE \#{@@connection.quote_column_name(@@session_id_column)}=\#{@@connection.quote(session_id)}\n", 'Destroy session'
          end
        end