-
-
Notifications
You must be signed in to change notification settings - Fork 631
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
Use turbolinks:before-visit
, not turbolinks:before-cache
#644
Conversation
It looks like there are some Rubocop violations in files I haven't touched... |
This looks really good. You seem to have update gems which is good. Please address the rubocop issues as well. Great job! Reviewed 9 of 9 files at r1. spec/dummy/Gemfile, line 16 at r1 (raw file):
what does this PR have to do with forcing the mini_racer version? spec/dummy/app/views/pages/turbolinks_cache_disabled.erb, line 10 at r1 (raw file):
demost => typo Comments from Reviewable |
Re: mini_racer version, I had a bit of a problem having the bundler install 0.1.7, instead of 0.1.4. I'm not positive why this was the case, but it wouldn't work for me without exact versioning. May not be a universal issue. I can take that out. |
@volkanunsal Let's get this to pass CI. I'd like to get this into the next release. |
@justin808 I addressed the mini_racer issue. I'd rather not touch the rubocop issues because I didn't cause them and they seem rather opinionated from my point of view. If there is a base commit that fixes them, I can rebase from that. |
Please rebase your changes on top of my latest commit. |
@volkanunsal Please create a changelog entry and please be consistent with the others. |
@justin808 Bumping the version number up to 6.4.0. Is that cool? |
Actually, it's probably a minor release now that I think of it. Bumping it up to 6.3.3. Here is the changelog entry:
|
@volkanunsal Please redo your last commit, and rebase on top of master. You pulled in lots of extraneous changes. Let's do 6.3.3, and please put the entry at the bottom of the changelog file that shows the diff. Review status: 6 of 48 files reviewed at latest revision, 2 unresolved discussions. Comments from Reviewable |
Ah, crap, yes, you're right. I think I merged before rebasing it. |
94c7e74
to
79b4b32
Compare
Reviewed 3 of 4 files at r2, 1 of 1 files at r3. CHANGELOG.md, line 11 at r3 (raw file):
Please reference the PR and the author like the other PRs below. spec/dummy/Gemfile, line 16 at r2 (raw file):
Why is removing this part of the PR? It should not be. If you believe that we should remove mini_racer, that should be a different PR. Comments from Reviewable |
@justin808 I think there is another mini_racer below that one. That was already commented out in the original, if I recall correctly. |
@justin808 Took out the mini_racer in the comment. |
@volkanunsal Thanks for pointing out the min-racer thing. |
Review status: 7 of 9 files reviewed at latest revision, 5 unresolved discussions. CHANGELOG.md, line 10 at r4 (raw file):
period at end. Comments from Reviewable |
Reviewed 2 of 2 files at r4. Comments from Reviewable |
thanks! great job! Reviewed 1 of 1 files at r5. Comments from Reviewable |
This PR includes a page that renders a component when Turbolinks cache is disabled to test whether the component is really unmounted when the user navigates away from the page. The hook on
turbolinks:before-visit
will ensure that this will happen in all cases. The previous event hookturbolinks:before-cache
was not called when the Turbolinks cache is disabled with a tag. That's why the erb page adds a meta tag to disable the cache.This change is