-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
gon.request won't set #32
Comments
Hello! No, there should be an error rising if you try to use one of gon's public methods. Look https://github.com/gazay/gon/blob/master/lib/gon.rb#L47 |
Thank you for getting back to me. Ah, makes sense. Strange I didn't get an error. (in development mode). |
Oh. This make sense - I should write more tests for public methods - maybe there is some vulnerability of my gem. I'll write here later about status. Thank you for pointing me on this!) |
I'm talking about not getting error. I have one test for this case, but seems like this not enough. And people somehow can get information from gon methods. Maybe I should make this methods private |
I almost done refactoring of gon in branch "refactoring", so it will be fixed in new version |
Hi,
When I get
gon.request = 'foo'
it's no available in the view, but when doinggon.foo = 'bar'
it works just fine.... could this be a possible bug?The text was updated successfully, but these errors were encountered: