Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Contextual Rails integration broken for FixNum #2

Open
ratnikov opened this Issue · 1 comment

1 participant

@ratnikov
Collaborator

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?

@ratnikov
Collaborator

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.