GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
Fix multiple global inclusion of helpers from different controllers (also fix keeping included helpers from previous requests in development mode: apotonick/apotomo#28)
I hope you like it because it took me few hours to find to investigate this bug.
Fix multiple global inclusion of helpers from different controllers (…
…also fix keeping included helpers from previous requests in development mode: apotonick/apotomo#28)
We should probably write a test for it and maybe also fix the strategy for rails 3.1 ?
Test for fixing global helpers inclusion
I added a test for that fix and also checked that without my patch the test was failing.
The test is passing for rails 3.1 without changes in rails3_1_strategy.rb
So the Rails30 strategy has to be fixed, but 31 can stay as-it? Maybe I should ask José what has changed here?
Yes. There are quite different in this element. After my fix both pass the test.
Merge pull request #59 from paneq/master
Use a separate Cell::View instance for each cell so helpers work as intended (Fix for Apotomo #28 issue).