Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reject_authorized_connection no method error #1

Closed
nynhex opened this issue Sep 6, 2016 · 1 comment
Closed

reject_authorized_connection no method error #1

nynhex opened this issue Sep 6, 2016 · 1 comment

Comments

@nynhex
Copy link
Contributor

nynhex commented Sep 6, 2016

In connection.rb line 16:

Should be reject_unauthorized_connection I believe. reject_authorized_connection gives a no method error and a nasty stack trace.

@excid3
Copy link
Member

excid3 commented Sep 6, 2016

Whoops! Definitely a typo. PR?

@nynhex nynhex closed this as completed Sep 6, 2016
excid3 pushed a commit that referenced this issue Sep 12, 2016
* Use proper cable method to reject unauthorized connections when looking up verified user fixes #1

* Change app behavior to auto-join and create chatroomt_user record instead of 2 steps to ..join..

* Add additional condition to work past nil, ensure value is present, and calculate time diff

* revert change, chatroom_user is never nil now that it's set in chatroomuserscontroller

* Set the chatroom_user last_read_at on creation, instead of running away from nils in conditional logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants