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 ;)
Given that this talk is now 5 years old, has anyone done their homework to know if there's better consumer air monitors on the market that aren't very expensive? Or is Awair still one of the best?
I really like the way everything is broken down into smaller and smaller pieces, then dealt with in isolation. This make it easy to understand the code and whatever level of detail you're currently in.
I know very little about Rails or Ruby (I'm learning), and I am very late to this party, but it seems to me that something like Person::RemoveInaccessibleRecordsJob(:grace_period: 30.seconds) might be a nice way to go. This would require a small peice of code within the RemoveInaccessibleRecordsJob class that simply converts :grace_period to :wait, and can set a default if not specified. Further, this would remove this code from here alltogether - Person::RemoveInaccessibleRecordsJob.perform_later(person, bucket) would then defaults to a 30 second wait time unless otherwise specified.
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.
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.
I'm getting an error on my terminal when I try to start the server after configuring the Hotwire / Websockets. " /home/lucasdubs5/.rbenv/versions/3.2.0/lib/ruby/3.2.0/socket.rb:1217:in `__connect_nonblock': Operation now in progress - connect(2) would block (IO::EINPROGRESSWaitWritable) " The applications doesn't even connects to the server, any ideas on how to fix it?
I've only just started working in Rails 7 with Hotwire a few weeks back, but I must say that this Rails version + the amazing speed of Ruby 3 for esp tests - it has done wonders for the joy of developing. I did Vue on Rails for years, and it is perfectly functional, but this just feels so much smoother. Config Hell is barely a thing. Im delighted for what Webpack was able to do for so long, but I would be lying if I said I'd miss it in the light of importmaps
How do you deploy this? Running into major errors with deploying- this is the error: Uncaught SyntaxError: Cannot use import statement outside a module (referring to the app/javascript/application.js file).
I followed along with these steps, but the turbo streams are not working. When I write a post in one browser window, it does not appear in the other browser window until I refresh. Is anybody else having this same problem? Does anybody have any ideas what I might be doing wrong? Edit: I found it. There was one typo in my importmap.rb. Apparently that causes all of the javascript to fail!