Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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