The 15 minute Blog from 2005 was mighty impressive back then, and to this day there's still not many solutions that can accomplish the same this easily without a lot of tweaking.
Chapters / Timestamps: 0:00 Scaffolding 4:00 Developing the Domain Model (Post) 5:08 Built in console/repl 6:15 ActionText Rails' Rich Text Editor 9:20 Javascript Import Maps - no node or webpack :D 10:25 Adding JS packages using pins 12:50 Downloading JS packages instead of using CDN 13:40 Adding Comments to the Blog Post 15:40 Adding Comments to the Web UI 20:40 Adding Email Notifications with ActionMailer 24:20 Live Updates via Websockets 27:30 Testing 29:15 Deploying to Heroku It's Amazing the toolbox that comes with Rails from `rails new`
I used RoR to build a few side projects. About 8 years ago was the last time I worked with Ruby On Rails, and since then I've been focused on backend development at my job. It's amazing that I can still understand this demo without any problem. There are some changes, e.g. how js is imported, and the live updates support. But it's like old friend and everything is so familiar, including the Textmate editor and the theme... Over the years I gave react/nextjs a few tries, it's too complicated for me or I didn't try too hard. I think I will come back to RoR, for my next project. Thank you for evolving the RoR and keeping it simple!
js import has been changing with almost every major rails version. its been a pain tbh. import maps however definitely seems like the best system we've had so far! ruby itself has come a long way. and of course rails is friendlier than ever. definitely give it a shot in spare time ;)
As a CE student in my final year, the things that I see being developed in RoR and Hotwire just blow my mind. This is very inspiring and by working on projects using this tech stack I have learned and understood a lot.
I've been developing software professionally since 1990. I've written code in dozens of languages over the years and Ruby on Rails is by far my favorite.
@@ChadWoolley I don't think it is a downside. I am too tired of doing Typesafe things from Java/C# ... That's why I switch to scripting languages. Typesafe doesn't ensure the correctness of the program. lol! If they added typesafe to Ruby, many developers would stop using it.
Thanks for this! Teaching Rails today, really fun and happy with the javascript approach, beginning students really get demotivated by all those front-end frameworks.
All what has been achieved for RoR7 looks great. Well done again for helping the community and taking the time to prepare&present this intro to RoR7. Thanks all the team and individuals that have made Ryby & Rails possible.
🏆The hot-wired comments bit takes me back to your Canada-On-Rails (Vancouver 2006) demo. I think you called it Armageddon back then 😆 Bravo, thanks David!
Even if the Rails documentation is great, I wish there are more learning resources when version 7 comes out. I've noticed that books/tutorials/videos on Rails has been declining ever since version 5. It's a shame really, judging by the course enrollments on Udemy and YT video views, people are still willing to learn it.
It's absolutely impossible to find any reasonably good video tutorial content that covers creating a practical full stack application using stimulus and hotwire. Even this video just sort of waves a hand at turbo frames and any information about turbo streams and just throws in like a line of code to demonstrate that it exists and moves on without any further explanation. It's very frustrating as a developer trying to learn how to use rails for real life things
WoW, I wonder why you have not published any full courses on ruby on rails, your teaching is so well. I watched the whole video and was able to follow through quite well.
I went through the same problem (in stacktrace: Could not open library 'libvips.42.dylib'). This indicates there was some missing libs in my os (mac os) so I've installed vips (brew install vips) and the problem mas solved.
Hey people, I have a question to anyone who can answer. Suppose I have a model called Post which has two attributes, title and description. The traditional way of NEW & CREATE and EDIT & UPDATE handle one instance at a time. But how can I implement a functionality of saving/updating multiple instances at once using one single submit button. (Preferably with SIMPLE FORM)
I followed it until minute 13, but in my browser it says "Posted February 08, 2022 16:01" instead of the "x minutes ago" text. Any idea what is wrong? I'm using Chrome, German timezone.
@Ashvith Shetty No, I found the problem: I missed this in application.js: import LocalTime from "local-time" LocalTime.start() I think I wrote it, but then I changed it from the CDN to the downloaded version, and maybe the importmap tool deleted it?
@@codecruz I see what you mean, but even if I knew how it worked, I would still prefer to not build my own auth system on a serious project, the stakes are too high. I would continue on relying on the battle-tested third-parties.
Hi David Heinemeier Hansson, i really enjoy your videos, can you please make a video with Stripe using Rails 7 on payment of a product. Thanks in Advance