Mein Chris. You are on another level! This solution totally fixed my problem. You are a true blessing to the Rails community! Keep up the great work!!
@GorailsTV3 жыл бұрын
Thanks Chris! That means a lot. 💪
@1klap3 жыл бұрын
these vids on this channel are simply pure gold, thanks for your work!
@weefunkster4 жыл бұрын
You absolute legend, this is why I keep my sub up all year round on gorails.
@erickzelaya36513 жыл бұрын
This is just what I was looking for. Thanks Chris
@InLightFilm3 жыл бұрын
Thank you. This is the BEST video solving this problem. Appreciate your hard work.
@ipheolu3 жыл бұрын
This was life-saving. Thank YOU!
@JustBCWi4 жыл бұрын
Chris, this dropped into my YT feed last night and I watched it. Yesterday I finally got TS to work after 2 days of struggle and toil. (Old programmer out of the game trying to get back in, long story.) I did a victory lap around the block, etc. This morning, the problems resolved in this video manifested. This video earned the most enthusiastic thumbs up I think I've ever given on YT...seriously. As a former vimmer, I'd give you style points for MacVim, but I've given into VS Code. Maybe I should give it a try as well? Any good videos? There are a couple (cross-domain) application ideas I have tried to get going that all ground to a halt with me trying to figure out React/Angular/etc. Over Christmas, I decided to chuck it all and go back to Rails. The whole Hotwire concept (proved by Hey, I think) came out at just the right moment. I'm super jazzed, and very glad that your videos help and old guy like me get back into flow. Keep it up.
@tjbihh4 жыл бұрын
Great work, Chris. Thank you!
@dc3662 жыл бұрын
Its more than a year since you published this video and we still have to do this in Rails 7. It has not been added to the responders and devise gem. @GoRails any way you can upload your fix to their Github? Thank you
@arpansac4 жыл бұрын
This is really helpful Chris, the redirect thing works well. I was trying my hand at it for a whole day. I'm personally using hotwire-rails gem and I think there's some thing extra that needs to be worked out for that. Would be really helpful if you can share a video on that too!
@GorailsTV4 жыл бұрын
I think you just have to drop the new turbo.js in the asset pipeline to override the one from the gem. 👍
@arpansac4 жыл бұрын
@@GorailsTV Thanks for the quick reply :) Do you suggest I should do that? Have also raised an issue on their github Your tutorials are awesome!
@Kocikify2 жыл бұрын
That was was very helpful, thank you
@mathieujobin49533 жыл бұрын
really cool, makes a lot of sense. I hope this get merged and we can just flip it with a boolean turbo_enabled
@BryanHooper13 жыл бұрын
Much thanks....super helpful
@lorenacadavid33922 жыл бұрын
I love you!, thank you
@crr41413 жыл бұрын
What is better hotwire or stimulus reflex?
@merlin2049er4 жыл бұрын
I got it working, but it failed to post the error messages the first time I land on the form. I have to reload the page for them and try it a second time (then it displays the error messages).
@merlin2049er4 жыл бұрын
oh, I was using a gem called client-side validations. I guess I don't need to use it any longer?
@IvanRaszl4 жыл бұрын
Why is there a need to have hotwire on devise pages? Can we not exclude the devise views from hotwire, but have it everywhere else in the app? Is it an all or nothing situation?
@GorailsTV4 жыл бұрын
You want it to take over everything so it can make the mobile adapters feel seamless.
@nonefvnfvnjnjnjevjenjvonej33842 жыл бұрын
hope devise has updated since then to not need these work arounds. it should just work.
@GorailsTV2 жыл бұрын
It hasn't quite yet unfortunately, but I've been working on some contributions.
@merlin2049er4 жыл бұрын
tried the latest hotwire-turbo build from github, it failed on heroku because of an integrity check Integrity check failed for "@hotwired/turbo-rails" (computed integrity doesn't match our records, got "sha512-...
@GorailsTV4 жыл бұрын
Use the new Beta
@merlin2049er4 жыл бұрын
@@GorailsTV which new beta?
@ameldagdoug52924 жыл бұрын
thank you but i how to do forgot password like this
@matiascarpintini70624 жыл бұрын
Thank you Chris! You know why errors doesn't shows on edit password?
@GorailsTV4 жыл бұрын
Editing registration works the same as registration does.
@matiascarpintini70624 жыл бұрын
@@GorailsTV yup, that works but not in passwords/edit (to me at least)
@juwonoh24782 жыл бұрын
`': uninitialized constant ApplicationController (NameError) I'm running into an error where my rails program won't start now.
@marcello31712 жыл бұрын
just add the turbo class he made in the controllers/turbo_controller.rb file. should load fine
@ClayShentrup3 жыл бұрын
Thanks for the helpful video. I just did this: module TurboResponder def navigation_behavior(error) raise(error) if get? if has_errors? && default_action render(rendering_options.merge(formats: %i[turbo_stream html], status: :unprocessable_entity)) else redirect_to(navigation_location) end end def options super.merge(formats: %i[turbo_stream html]) end end
@wotok74 жыл бұрын
Here is the link to gorails discussions gorails.com/episodes/devise-hotwire-turbo?autoplay=1
@AllInForYah2 жыл бұрын
This doesn't fix the issue for canceling an account