Skip to content
This repository was archived by the owner on Jan 30, 2019. It is now read-only.
This repository was archived by the owner on Jan 30, 2019. It is now read-only.

Ruby 2.1.0 support #49

Open
Open
@philrosenstein

Description

@philrosenstein

I've upgraded my Rails 2.3.18 app to work with Ruby 2.1.0 ( requires a couple monkey patches described here http://djellemah.com/blog/2013/02/27/rails-23-with-ruby-20/ )

json_builder templates are now throwing the following error:

undefined method json_builder_member_path for #<ActionView::Base
../gems/actionpack-2.3.18/lib/action_controller/polymorphic_routes.rb:107:in polymorphic_url
../gems/actionpack-2.3.18/lib/action_controller/polymorphic_routes.rb:114:in polymorphic_path
../gems/actionpack-2.3.18/lib/action_view/helpers/url_helper.rb:91:in url_for
../gems/actionpack-2.3.18/lib/action_view/helpers/url_helper.rb:228:in link_to
../gems/json_builder-3.1.7/lib/json_builder/compiler.rb:85:in method_missing
...

Is there a known issue with json_builder with Ruby 2? I don't think it's the monkey patches because it still works using the same patches with Ruby 1.9.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions