Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Contextual Rails integration broken for FixNum #2

ratnikov opened this Issue · 1 comment

1 participant


Seems like contextual rails integration is broken for fixnums.

To reproduce, create a brand new rails project, require contextual and render template like:

<html><body><%= 42 %></body></html>

This will break with 'could not coerce Fixnum to class java.lang.String'.

This seems to be a problem with rails integration, since contextual itself renders fixnums fine. I'd like to write some rails integration test to reproduce this, but seems like rspec + capybara + rails test_app do not like to play together.

Ilya, perhaps you have a better suggestion of how to reproduce this?


And here's a pull request: #3 :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.