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

Corrected how the railtie gets annotate_rendered_view_with_filenames #128

Closed
wants to merge 1 commit into from

Conversation

iainbeeston
Copy link
Contributor

The way we were getting annotate_rendered_view_with_filenames from rails wasn't working (added in #122). I think this is due to loading order but it's hard to be sure because I can't actually see where rails initialises the value we were using.

I've changed it to get the config option directly from the rails config, which is hopefully a bit simpler and does not depend on any loading order.

@iainbeeston
Copy link
Contributor Author

Sorry @rafaelfranca it seems like #122 isn't working for me (not sure why, it worked during development) so I've raised this PR to make the railtie work in a different way.

The way we were getting annotate_rendered_view_with_filenames from rails
wasn't working.

I've changed it to get the config option directly from the rails config,
which is hopefully a bit simpler and does not depend on any loading
order.
@rafaelfranca
Copy link
Member

We need to understand why it isn't working, because it should. Can you provide a way to reproduce?

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