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

rails version support #15

Open
neohunter opened this issue Mar 30, 2015 · 3 comments
Open

rails version support #15

neohunter opened this issue Mar 30, 2015 · 3 comments

Comments

@neohunter
Copy link

I've tried this with rails 1.8.7 and raise this error

require 'rails_view_annotator'
NameError: uninitialized constant ActionView::PartialRenderer

@neohunter
Copy link
Author

If it's not compatible can you kindle add to the readme the versions which it will work?

@patbl
Copy link

patbl commented Apr 7, 2020

It's not compatible with Rails 6.0, either. In 6.0, find_partial requires two arguments. But Rails View Annotator calls it with no arguments:

(@template = find_partial) ? @template.identifier : @path

@patbl
Copy link

patbl commented Jun 9, 2020

A co-worker of mine came up with a fix for Rails 6.0.

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

No branches or pull requests

2 participants