Rails Wizards Pt. 9
Jon Sully
1 Minute
Live examples
-
Part of the
‘Rails Wizards’
Series:
- • Apr 2021: Rails Wizards Pt. 1
- • Apr 2021: Rails Wizards Pt. 2
- • Apr 2021: Rails Wizards Pt. 3
- • Apr 2021: Rails Wizards Pt. 4
- • Apr 2021: Rails Wizards Pt. 5
- • Apr 2021: Rails Wizards Pt. 6
- • Apr 2021: Rails Wizards Pt. 7
- • Apr 2021: Rails Wizards Pt. 8
- • Apr 2021: Rails Wizards Pt. 9 (This page)
Live Examples
Well hey! You either made it through the entire series or you’re jumping ahead to get inspired to read the rest of the series by playing with the fun toys we made. Either way is totally fine by me 😎. You can find every variation of Rails Wizard discussed in this series implemented on the following URL. Each variation gets its own Model and wizard for the sake of namespacing — hopefully you’ll find them enjoyable.
NOTE: This is a free-tier Heroku app, so this is the warning about the 30-second spin-up time if nobody’s hit the site recently.
NOTE: This was before Heroku killed the free tier 😱. I may or may not get it back up and running in the future!
http://rails-wizards.jonsully.net
Have fun!
Comments? Thoughts?
Anonymous
This was soooo helpful!
Do you have an idea on how you would render the first step of your partial through a different controller? I want my first step to be visible on my homepage but I can’t figure it out!
Joseh-Henrique Caetano de Brito e Silva
Looking for a script about wizards in Rails, I found your blog, very good, but when I saw the dfemonstrative app on heroku, it is down, how could I see it active? Joseh-Henrique Goiânia, GO Brazil
Jon Sully (Author)
Greetings! Yeah.. I have yet to resurrect the Rails app that goes with this blog series since Heroku axed free-tier apps 😅 might have to move it to Render, I guess! In the meantime, you’re welcome to pull down the open-source repo and run the app locally! https://github.com/jon-sully/rails-wizards
Anonymous
Thank you for this content!
Joseh-Henrique Caetano de Brito e Silva
My interest in seeing this working without using hotwire, I could be wrong, but in the examples it showed that I could use it without hotwire, am I right? I explain the question, I still use old Rails (4.2 -> 5.2) and the part that uses sessions interested me (the examples)
Jon Sully (Author)
Yep! Everything in this series should work fine without Hotwire. Feel free to comment on the particular “Part” post that isn’t working if you run into issues!
Jon Sully (Author)
Well apologies for missing your comment so long ago! But for others who have a similar question, this is actually a flow I’ve implemented at one of my roles — we just made the homepage a Step in the StepsController! It has a different layout than the rest of the steps, but given that it is actually a step in the wizard, it felt right to make it a step in the code (served by the StepsController)