Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View KickButtowski80's full-sized avatar
🎯
Focusing

Izak T KickButtowski80

🎯
Focusing
  • Los Angeles CA
View GitHub Profile
module ApplicationCable
class Connection < ActionCable::Connection::Base
identified_by :current_admin
def connect
self.current_admin = find_verified_admin
logger.add_tags 'ActionCable', current_admin.email
end
protected