Rails 7: The Demo

  Рет қаралды 109,573

David Heinemeier Hansson

David Heinemeier Hansson

Күн бұрын

Пікірлер: 169
@Akitando
@Akitando 3 жыл бұрын
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.
@CaioAbe
@CaioAbe 3 жыл бұрын
Can't wait to watch Akita DHH interview
@wellitonmoreira990
@wellitonmoreira990 3 жыл бұрын
@@CaioAbe It will be legendary
@585ghz
@585ghz 3 жыл бұрын
Legend
@luisdomiciano
@luisdomiciano 2 жыл бұрын
A lenda por aqui.
@luizsiewerdt5291
@luizsiewerdt5291 2 жыл бұрын
O brabo tem nome, Fabio Akita
@jeremyward9363
@jeremyward9363 3 жыл бұрын
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`
@mikopiko
@mikopiko 3 жыл бұрын
This deserves a heart
@vhec1267
@vhec1267 3 жыл бұрын
This needs to be pinned. 💯
@idreesibrahim5642
@idreesibrahim5642 3 жыл бұрын
Thanks mate.
@ellerium
@ellerium 3 жыл бұрын
Thanks!
@RakshaSaini1
@RakshaSaini1 2 жыл бұрын
Waw thanks
@aps69
@aps69 10 ай бұрын
After watching this i am thinking about all the things i spent hours on working with react which he did in minutes
@hongqiwang988
@hongqiwang988 10 ай бұрын
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!
@MuhammadSohaib-v8s
@MuhammadSohaib-v8s 10 ай бұрын
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 ;)
@externix
@externix 3 жыл бұрын
Presentation style: DHH from 2010 🙂 The time of Rails and Railscasts. Thanks for the presentation and nostalgia!
@hass89
@hass89 3 жыл бұрын
Rails never ceases to amaze.
@andycyz
@andycyz 3 жыл бұрын
yeah! 🤘
@MrSama1000
@MrSama1000 3 жыл бұрын
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.
@harryuan65
@harryuan65 3 жыл бұрын
Just FYI: I was following the steps, and rails crashes after uploaded the image with "Cannot load vips", you need to brew install vips first
@abdellahramadan9001
@abdellahramadan9001 3 жыл бұрын
I am going to build my next project on Rails. Thanks for the amazing work.
@jarredmacquoid7688
@jarredmacquoid7688 Жыл бұрын
This demo of Rails 7 showcases its powerful features and improvements, making it an exciting update for developers. Can't wait to try it out!
@dupre7416
@dupre7416 3 жыл бұрын
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
@ChadWoolley 2 жыл бұрын
Same, except lack of type safety in Ruby was a big downside. Looking forward to trying some of the Ruby 3 type safety and pattern matching.
@darkamenosa03
@darkamenosa03 2 жыл бұрын
​@@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.
@SlavaEremenko
@SlavaEremenko Жыл бұрын
@@darkamenosa03they can always add optional type definitions, the way PHP was updated
@Ostinslife1
@Ostinslife1 3 жыл бұрын
Gonna have a fun time teaching this to students.
@AndreyAzimov
@AndreyAzimov 3 жыл бұрын
Thank you for keep doing this all these years!
@potloodgum
@potloodgum 3 жыл бұрын
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.
@je9625
@je9625 3 жыл бұрын
Not only is Rails good and getting better, David is also a great teacher. This demo is better than most of the tutorials out there.
@jwaiswa
@jwaiswa 2 жыл бұрын
This is beautiful... I make a living off rails, and so glad to see the passion here...
@anthonypetruzzi158
@anthonypetruzzi158 3 жыл бұрын
God do I miss developing in RAILS 🥰 Thank you so much for creating it DHH 🥰
@dream_emulator
@dream_emulator 10 ай бұрын
F*CK YES! This is awesome. I haven't been this stoked to build something in like 10 years. Thanks for putting the spark back.
@Deanin
@Deanin 2 жыл бұрын
Very fancy, glad to see some of these changes evolving from what we had in Rails 6.
@vinimartinson
@vinimartinson 3 жыл бұрын
thanks DHH, God bless you for such wonderful fw!
@LuisFlores1961
@LuisFlores1961 2 жыл бұрын
The more I learn Rails, the more I love it, thank you!
@richdownie3037
@richdownie3037 3 жыл бұрын
🏆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!
@ChiragThakur09
@ChiragThakur09 3 жыл бұрын
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.
@darkamenosa03
@darkamenosa03 2 жыл бұрын
Maybe he doesn't have time to do that.
@MobileGamingMomentsGG
@MobileGamingMomentsGG Жыл бұрын
Do you know who he is? He doesn't have time to do that.
@terryhenyo9216
@terryhenyo9216 3 жыл бұрын
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.
@programmingcheatsheet
@programmingcheatsheet 2 жыл бұрын
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
@cnphause
@cnphause 2 жыл бұрын
My favorite part of this is watching a guy like DHH also "forget to edit the routes file". We're all the same. 🙂
@makeitnow_in
@makeitnow_in 2 жыл бұрын
He just shows of how cool and awesome his creation is. Awesome content
@InLightFilm
@InLightFilm 3 жыл бұрын
Thank you for hotwire. It literally changed the world. I can't believe what it can do. Thank you for all the great work that you have done .
@jademermaidmusic
@jademermaidmusic 3 жыл бұрын
How did it change the world? There’s not a single major Rails app that uses it (no, Hey is not a major app, they’re an outlier in the email market).
@Nuatheone
@Nuatheone 2 жыл бұрын
Hotwire is pretty much useless in many cases, it will become like turbolinks, first thing to uninstall after rails new...
@ilkveson244
@ilkveson244 3 жыл бұрын
I've been following the evolution and development of Rails with admiration. I especially liked the refresh made on the javascript side.
@edu28811
@edu28811 3 жыл бұрын
Thank you, DHH. God bless you.
@the_bread_code
@the_bread_code 2 жыл бұрын
Very excited to see what the team has baked! Thanks for the demo.
@lahirujayaratne
@lahirujayaratne 3 жыл бұрын
Thanks a lot, DHH and Matz! You guys are amazing!
@marcelfahle
@marcelfahle 3 жыл бұрын
dhh with the textmate flex 💪 love it!
@bradchellingworth5973
@bradchellingworth5973 3 жыл бұрын
I can't wait for rails 7. so excited to not have to use webpack :)
@RaFiStudiozOfficial
@RaFiStudiozOfficial 3 жыл бұрын
but it is out already, or what do you mean?
@antoniotrujillo7636
@antoniotrujillo7636 2 жыл бұрын
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.
@daily-coffee-pour-over
@daily-coffee-pour-over 3 жыл бұрын
6:02 Does rails console now print attributes line by line by default? I always need to bundle add amazing print gem or sth alike to do that.
@aftakitani
@aftakitani 3 жыл бұрын
So Rails is now twice slower to develop since we went from Blog in 15 minutes to blog in 34? Just kidding! Thank you so much for this awesome release!
@erichayes5000
@erichayes5000 3 жыл бұрын
It's amazing to see how far we've come from "Build a blog in 15 minutes"!
@elbowdonkey
@elbowdonkey 3 жыл бұрын
I looked through the release notes and can't find anything talking about removing "Wooops" from Rails demos. I'll miss that feature.
@wmcraver
@wmcraver 3 жыл бұрын
This Hotwire stuff works like facking magic!
@NoobCodeSaga
@NoobCodeSaga 3 жыл бұрын
Amazing, this versions is awesome! Make me happy again! Thanks for all contribuitors.
@chrisbrace6915
@chrisbrace6915 2 жыл бұрын
Awesome to see what is still possible with the r[Evolution] of the Rails framework!
@shivar547
@shivar547 2 жыл бұрын
Ruby on Rails always beautiful and amazing that's way we love always...!
@ballerq314
@ballerq314 3 жыл бұрын
I'm new to the Rails world, but I'm very excited about Rails 7
@geraldspreer
@geraldspreer 3 жыл бұрын
Keep up the good work, David.
@Mixesha001
@Mixesha001 2 жыл бұрын
These days I use Rails with Redis for my API and Svelte for the client. The issue with Hotwire is that there is little documentation about.
@codyelhard5779
@codyelhard5779 3 жыл бұрын
DHH Giving the best Christmas gifts out here ... And all the contributors
@ВячеславСкопюк
@ВячеславСкопюк 3 жыл бұрын
Good old 15 minute blog. You've changed over the summer
@umidjonustabaev9624
@umidjonustabaev9624 2 жыл бұрын
Thank you for such a great tutorial and framework!!!
@mooktakim
@mooktakim 3 жыл бұрын
Who remembers the "woops!" guy?
@mikopiko
@mikopiko 2 жыл бұрын
11:45 why use a whole js library for simply getting the same results as "time_ago_in_words" tag?
@income3000
@income3000 3 жыл бұрын
can you please explain how fix the image rendering bug at the end of the video
@gmergulhao
@gmergulhao 2 жыл бұрын
web developing finally made cool for admins! Thank you for your effort
@kwhandy
@kwhandy 2 жыл бұрын
dhh actually Ryan Reynolds when he knows how to code at that well
@RyanJeffB
@RyanJeffB 3 жыл бұрын
Thanks for the update. lot of things to do this coming year to upgrade haha. but it is cool and easy to use. Bedankt and Kudos.
@frankbuss
@frankbuss 2 жыл бұрын
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.
@frankbuss
@frankbuss 2 жыл бұрын
@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?
@abdouazizseck8838
@abdouazizseck8838 2 жыл бұрын
Rais is the best one Ever ! GOD BLESS BIN/RAILS .... it's A BIG RASHINGAN
@LouaiAmrouche-iu9bc
@LouaiAmrouche-iu9bc Жыл бұрын
what text editor is he using ?
@RaFiStudiozOfficial
@RaFiStudiozOfficial 3 жыл бұрын
fantastic, so many previous issues i had, resolved here
@projectguild6694
@projectguild6694 3 жыл бұрын
Great video!
@siyaram2855
@siyaram2855 2 жыл бұрын
What editor he is using
@zchrb
@zchrb 3 жыл бұрын
Rails server crashes when I upload an image through the rich text editor. The image doesn't display either. Any ideas why?
@DanielMoraisdmgm
@DanielMoraisdmgm 3 жыл бұрын
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.
@zchrb
@zchrb 3 жыл бұрын
​@@DanielMoraisdmgm Ah thank you! I got it to work once I did a brew install glib & brew install vips. Appreciate you taking the time to comment :)
@rodrigogemaque3020
@rodrigogemaque3020 3 жыл бұрын
you are my hero man🤘
@pulgamecanica
@pulgamecanica 3 жыл бұрын
NO WAY !!!! This guy is the actual creator of RoR!!!
@ВячеславОдиноков-ш8т
@ВячеславОдиноков-ш8т 2 жыл бұрын
Which combination is recommended to use? I just dont want reading a lot information to choose any js builder or css.
@АлександрКайсаров-я1щ
@АлександрКайсаров-я1щ 2 жыл бұрын
Thanks for RoR bro keep it up!!!
@dlvl86
@dlvl86 3 жыл бұрын
So many things happening in this video. Rails continues to keep pushing the bar…
@bachos4864
@bachos4864 2 жыл бұрын
RAILS 💪 წარმატებები
@DigiDriftZone
@DigiDriftZone 3 жыл бұрын
What code editor is that? - really great video, I am excited to upgrade our app from Rails 6 and UJS to Rails 7 + Hotwire!
@elmira741
@elmira741 3 жыл бұрын
This IDE is called Mate
@SuperAn0nymus
@SuperAn0nymus 2 жыл бұрын
if you're getting error with turbo_stream_from, then manually start redis server by running $redis-server in terminal
@abhishekkushwaha1708
@abhishekkushwaha1708 2 жыл бұрын
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)
@sh-qj5ss
@sh-qj5ss 3 жыл бұрын
Sign up not ,taking in rails 7 showing undefiend method user ,and attribute matching error ,any solution?
@BehruzbekOtayev
@BehruzbekOtayev 10 ай бұрын
What? The DHH has a KZbin channel? Great!
@dc366
@dc366 3 жыл бұрын
At 9:10 I get the error library.rb:145:in `block in ffi_lib': Could not open library 'vips.so.42': vips.so.42: cannot open shared object file: No such file or directory. (LoadError). Could not open library 'libvips.so.42': libvips.so.42: cannot open shared object file: No such file or directory I did a fresh install of ruby on rails on Ubuntu. Does anyone have a solution? Please help
@kodingbaba
@kodingbaba 3 жыл бұрын
I have faced this issue on Mac. You need to install vips.
@live_views
@live_views Жыл бұрын
Hi David, I have joined as a junior developer of ROR in a SASS company. we got a requirement to build a service bot for the ecommers application which should be selection/rule-based chart bot link godaddy customer support. in which based on the options selected the response should be made. so is there any gem or service by which we can build it. Thank you.
@clementcoquille4153
@clementcoquille4153 2 жыл бұрын
Please god, I dont wanna work on another framework T_T
@andrewwedstrom
@andrewwedstrom 2 жыл бұрын
What text editor is he using here?
@ukaszczapiewski4580
@ukaszczapiewski4580 3 жыл бұрын
What is your opinion/view on ICP?
@bavan1358
@bavan1358 3 жыл бұрын
sir can you please make a beginner ruby on rails tutorial playlist
@abdouazizseck8838
@abdouazizseck8838 2 жыл бұрын
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
@muhammadmudasir367
@muhammadmudasir367 2 жыл бұрын
daterangepicker not working on rails 7 please make h complete video on daterangepicker
@NormCantoral
@NormCantoral 3 жыл бұрын
lucky 7 for rails. not unlike windows which also had a very nice version 7. 7's FTW
@LuisFernandoPimenta
@LuisFernandoPimenta 3 жыл бұрын
Fantastic 🎉
@marvelouswololo6677
@marvelouswololo6677 3 жыл бұрын
This is amazing.
@versaute_lehrer
@versaute_lehrer 2 жыл бұрын
Does anyone know how to implement Foundation as css framework?
@anonimetitus
@anonimetitus 3 жыл бұрын
Strange: at 6:30 the generated sql for all_day starts from 23:00:00
@mikopiko
@mikopiko 3 жыл бұрын
Does rails come with built-in authentication system or does it rely on people using gems such as Devise?
@Lucas-bh3et
@Lucas-bh3et 3 жыл бұрын
devise
@mikopiko
@mikopiko 3 жыл бұрын
@@Lucas-bh3et So Rails rely on the auth gems?
@blackstratmx
@blackstratmx 3 жыл бұрын
@@mikopiko yes
@codecruz
@codecruz 3 жыл бұрын
You can build your own authentication pretty easy. No need to rely on devise. Just need to understand how authentication works.
@mikopiko
@mikopiko 3 жыл бұрын
@@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.
@frockygarcia2004
@frockygarcia2004 3 жыл бұрын
my idol superhuman DHH. I'm from PH btw
@SUMITDAKSH
@SUMITDAKSH 3 жыл бұрын
Good job DHH 👍
@n00bma5ter69
@n00bma5ter69 3 жыл бұрын
Console in the error screen 😍. Marry me
@themesaika4207
@themesaika4207 3 жыл бұрын
Fantastic.
@agl1925
@agl1925 3 жыл бұрын
Very nice!
@elisson357
@elisson357 3 жыл бұрын
Thanks for sharing.
@elmira741
@elmira741 3 жыл бұрын
I ❤️ Ruby on Rails
@JakobSkjerning
@JakobSkjerning 3 жыл бұрын
Needs more "whoops"!😆
@mouhamaddiop1144
@mouhamaddiop1144 3 жыл бұрын
The legend !!!! that's it.
@discipulus
@discipulus 2 жыл бұрын
¿Are you the real David Heinemeier Hansson RoR's creator?
@dennis.blondell-decker
@dennis.blondell-decker Жыл бұрын
Ruby on Rails is still one of the best complete solutions for a web application. At some point looking through this video, it all becomes magic hieroglyphics, incantations with a particular taste for how to do things, but nevertheless what I would call search-driven development because you have to search the web for how to do things, even if you read a book or two on the framework. I suppose this is normal for any kind of framework that becomes a world unto itself when trying to handle everything, and that's fine when you want a quick turnaround. If you want engineering instead of tooling, look elsewhere, or let yourself be inspired by this! It is instructive to compare this video with the original demo of Ruby on Rails from 2005 in half the time. It truly is amazing how many things Ruby on Rails handles for you without too much fuzz.
3 жыл бұрын
Awesome!
@ddd2283
@ddd2283 3 жыл бұрын
install rails from main branch but dont see "rails: install importmap" in log (((
@ddd2283
@ddd2283 3 жыл бұрын
oh its my mistake. it was 7.1.0 version
@ihwan_id
@ihwan_id 11 ай бұрын
thanks david
The Ruby On Rails Junior Developer Problem
16:03
Deanin
Рет қаралды 20 М.
Alpha preview: Modern JavaScript in Rails 7 without Webpack
27:06
David Heinemeier Hansson
Рет қаралды 61 М.
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
5 Secrets to Becoming a Badass Ruby on Rails Developer
28:01
Mix & Go
Рет қаралды 25 М.
Should you use Ruby on Rails in 2024?
14:43
webcrunch
Рет қаралды 58 М.
'The Cloud Fugitive' | David Heinemeier Hansson | NTK # 001
19:54
DARK MATTER +
Рет қаралды 14 М.
Rails 8: The Demo
30:11
Ruby on Rails
Рет қаралды 37 М.
Hotwire Demystified - Jamie Gaskins
34:18
Ruby Central
Рет қаралды 11 М.
Setup A Ruby on Rails 7 API With React JS
15:11
Deanin
Рет қаралды 43 М.
Was I Wrong About Blazor? | Coding Shorts 111
16:35
Shawn Wildermuth
Рет қаралды 27 М.
All you need is Rails (Engines): Compartmentalising your Monolith
38:26