instance method
destroy
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v3.2.22.5Signature
destroy()
No documentation comment.
Source
# File activerecord/lib/active_record/session_store.rb, line 269
def destroy
unless @new_record
@@connection.delete <<-end_sql, 'Destroy session'
DELETE FROM #{@@table_name}
WHERE #{@@connection.quote_column_name(@@session_id_column)}=#{@@connection.quote(session_id)}
end_sql
end
end
Defined in activerecord/lib/active_record/session_store.rb line 269
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::SessionStore::SqlBypass