Skip to content

Instantly share code, notes, and snippets.

@Woody88
Created July 22, 2015 19:24
Show Gist options
  • Save Woody88/a525c2ff0b7e694c5fe5 to your computer and use it in GitHub Desktop.
Save Woody88/a525c2ff0b7e694c5fe5 to your computer and use it in GitHub Desktop.
# Uncomment and change this option to override the class associated
# with your `current_user` object. This class will be used when
# synchronization is enabled and you trigger events from background
# jobs using the WebsocketRails.users UserManager.
#config.user_class = User
# Used as the key for the WebsocketRails.users Hash. This method
# will be called on the `current_user` object in your controller
# if one exists. If `current_user` does not exist or does not
# respond to the identifier, the key will default to `connection.id`
#config.user_identifier = :id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment