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

Fixed the issue with rails integration for fixnums #3

Merged
merged 1 commit into from
Mar 29, 2012

Conversation

ratnikov
Copy link
Collaborator

Seems like the escaper takes only strings, so when feeding it a fixnum it would blow up.

Fixed by calling to_s on code when feeding into the escaper.

Reproduced the issue in a special spec that checks rails integration

@igrigorik
Copy link
Owner

Ah, nice catch.

igrigorik added a commit that referenced this pull request Mar 29, 2012
Fixed the issue with rails integration for fixnums
@igrigorik igrigorik merged commit 78771d8 into igrigorik:master Mar 29, 2012
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

Successfully merging this pull request may close these issues.

2 participants