method

destroy

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActiveRecord::SessionStore::SqlBypass
destroy() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/session_store.rb, line 274
      def destroy
        return if @new_record

        connect = connection
        connect.delete           DELETE FROM #{table_name}          WHERE #{connect.quote_column_name(session_id_column)}=#{connect.quote(session_id)}, 'Destroy session'
      end
Register or log in to add new notes.