Flowdock
method

destroy

Importance_0
v3.0.0 - 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 276
      def destroy
        return if @new_record

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