Remote Ruby

Chris Oliver, Andrew Mason
undefined
Jan 19, 2021 • 53min

Hotwire, Rails NEXT, and the DHH Stack™ with David Heinemeier Hansson

[00:00:34] DHH jumps right into telling us what the response has been to Hotwire and how Basecamp has felt about the response.[00:04:02] DHH talks about a book they published in 2013 and mentions to “wait for the pendulum to come your way,” and how this relates to Hotwire. He also talks about Turbo.[00:08:06] Since Hotwire, the whole package, is a separate gem you bring in, Jason asks DHH if long term, that will continue to be the case or if that will ship with Rails. [00:15:39] Rails 7 is brought up by DHH and how there is work to be done.  [00:19:39] Jason mentions to DHH there are a lot of questions about Strada and Mobile, Mobile, Mobile and asks him how the missing piece “air quotes” fits into the Hotwire package.[00:25:54] Chris is curious and asks DHH how he stumbled on using HTML more. Find out what DHH calls fascinating moments.[00:38:00] Jason wonders if DHH has any new ideas or anything he’s worked up from Basecamp that he might want to extract for Rails 7. [00:42:44] DHH tells us what it looks like for him when he’s starting a new project. [00:51:11] Andrew asks DHH what he would say to the Junior Developers out there who are learning Rails and being told by their Bootcamps, friends, or the community at large that Rails is slow, they’re never going to find a job, and they have to write React.  Panelists:Jason CharnesChris OliverAndrew MasonGuest:DHHSponsor:HoneybadgerLinks:David Heinemeier Hansson WebsiteDHH TwitterHotwire for RailsBasecampHeyTurboRemote: Office Not Required by Jason Fried and David Heinemeier HanssonIt Doesn’t Have to Be Crazy at Work by Jason Fried and David Heinemeier HanssonRework by Jason Fried and David Heinemeier Hansson Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter
undefined
Jan 15, 2021 • 39min

Talkin' Puma and the Rails Performance Workshop with Nate Berkopec

[00:01:20] Nate tells us a little bit about himself, what he does, and a book he wrote. [00:02:18] Nate talks about the Rails Performance workshop he released a month ago. [00:06:02] Jason asks Nate if he has any plans to go back into the in-person training or if he will keep the current format if it’s showing more advantages. [00:08:03] If you are interested in learning more about performance, Nate shares advice what you should do.[00:09:37] Jason announces that today we are basking in the release of Hotwire, and he’s curious from a performance perspective if there are any downsides or any performance benefits to doing HTML over the wire.[00:19:37] Chris asks Nate to talk about scaling his WebSocket side of things. He also tells us about Puma. [00:24:11] Nate tells us about Samuel Williams (ioquatix) and his work around the fiber scheduler and he also mentions Ractor being released soon.[00:26:34] Nate explains the Global VM Lock and he tells us he has an article on his Speedshop blog about this. He also mentions he has a new book coming out in January, and he tells us in your Ruby process there is a “virtual machine” that runs Ruby code. [00:29:10] Nate explains that Puma has two jobs and Andrew asks Nate if there is anything on the horizon for Puma.[00:34:10] Nate tells us what it was like traveling the world during the pandemic and what’s it’s like being back home. Panelists:Jason CharnesChris OliverAndrew MasonGuest:Nate BerkopecLinks:Nate Berkopec TwitterSpeedshopSpeedshop Blog“The Practical Effects of the GVL on Scaling in Ruby” by Nate BerkopecPumaThe Complete Guide To Rails Performance by Nate BerkopecThe Rails Performance WorkshopFalconHotwire for Rails-GitHubHow to use Hotwire in Rails by Chris OliverSamuel Williams ioquatixRactor Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter
undefined
Jan 8, 2021 • 46min

Andrew's HAML Tattoo

[00:01:41] Jason dropped his StimulusReflex course in early access and he tells us how the initial reception of it is and how he’s feeling about it.[00:09:21] Andrew explains the differences between Snowpack’s more like Webpacker, and he mentions Skypack and Snowpack pair very nice together. [00:18:07] Andrew tells us that Webpack is just a bunch of Webpack config rolled into a nice easy to use and they took most of the use cases of Webpack and bundled it into a gem. He mentions the web server in Ruby, Falcon, which is HTTP/2 compatible. [00:24:29] Andrew asks the guys if they know what Vercel is (formerly ZEIT) and how he tested it out. [00:28:25] What else is new in the Ruby world? Chris says that the new Rails is out, Ruby comes out next week, and new magic comes out next week.  Andrew tells us he sees everyone talking about the deprecation toolkit that’s in Rails 6.1, but nobody’s talking about the greatest feature of all time which is the “annotate template file names,” thanks to Joel Hawksley.[00:30:32] Chris tells us he did the deprecations error or exceptions screencasts this week. Also, the guys talk about how there is way better “sharding” support now in Rails 6.1, and Chris explains “horizontal sharding.” [00:34:34] Jason brings up delegated types in STI, which he uses quite a bit at Podia.[00:37:02] Chris mentions Rails 6.2 is in the works already. [00:39:42] Jason talks about gems he finds that moved out of Rails, like acts_as_list, and Chris names some other ones that he wishes were still maintained. [00:43:36] The guys chat about supporting the squad, communities, and people making good stuff, and to go buy Jason’s course. Panelists:Jason CharnesChris OliverAndrew MasonLinks:Interactive Rails with StimulusReflex Course-Jason CharnesSnowpackSkypackFalconWIP Vercel Serverless Functions written in Ruby-Andrew MasonOpen Graph Image-VercelAnnotate template file names #38848-Joel Hawksley“Adding Disallowed Deprications to Rails 6.1”-Cliff PruittAdd delegated type to Active Record #39341-GitHubOffer dependent: destroy_async for associations #40157-GitHubacts_as_list_-GitHubHow to use horizontal sharding in Rails 6.1 Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter
undefined
Jan 1, 2021 • 51min

The Early Days of Rails, Long-term Maintenance, and Oh My Zsh with Robby Russell

[00:01:44] Robby tells us who is he and some of things he’s involved with.[00:02:42] Robby tells us about Z shells being the default on macOS and if more people are using it. [00:04:04] Since Robby’s been in the Rails Community for a long time, he tells us how things have changed and how he got into Ruby on Rails and Z shell. [00:16:34] Robby tells us about doing something in Postgres, but curious about using DRb (distributed object system for Ruby,) and a story about a past FOSSCON he went to in Portland.[00:20:59] Jason is curious to know since Robby owns an agency, if the work he takes on is primarily Ruby on Rails work. He mentions not being a maker, but a mender.[00:28:35] Chris is curious to know from Robby if a new developer comes into a team, how can you address comprehending or understanding things and make it maintainable for the longer term. [00:34:00] Chris talks about maintaining stuff, learning code, and the reality of working as a developer. [00:38:10] Chris brings up the Execute Program by Gary Bernhardt and Robby talks about one of things he values so much is how simple Ruby is to read. [00:41:30] Andrew feels like he’s under-utilizing Oh My Zsh, so he asks Robby to talk about some cool things that he’s seen people do with it and some common misunderstandings that he thinks people have about the project. He mentions some great plug-ins called git-extras, autojump, and z.[00:49:09] Robby tells us his favorite plug-in, dotenv, and a new theme he’s working on.[00:50:02] Find out where you can search for Robby on the internet.Panelists:Jason CharnesChris OliverAndrew MasonGuest:Robby RussellLinks:Robby Russell TwitterRobby Russell LinkedinPlanet ArgonOh My ZshOh My Zsh-GitHubOh My Zsh TwitterMaintainable- A Podcast from Planet ArgonCodeTourgit-extras pluginAutojump pluginz-jump around pluginz-jump around-GitHubdotenv pluginExecute ProgramDRb Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter
undefined
Dec 25, 2020 • 40min

HTML over Websockets is all the rage

[00:00:25] Jason tells us about his busy Black Friday weekend and having to use Rails Autoscale, and Chris mentions Shopify’s graph showing their traffic for the weekend. [00:02:51] Jason tells us what’s new in the Ruby on Rails world and mentions RC2, and Chris tested Jumpstart Pro against RC1. Jason talks about something is wrong with his RC and it may be something with the version of Ruby he’s using. He also tells us about a Full Stack Radio episode with Adam Wathan talking about Screencasting and he found it super helpful. [00:07:22] Chris opens Twitter and Nate Hopkins Tweeted about whatever the new magic DHH has been calling it and DHH responded.   Does this mean the new stuff is coming out because Stimulus 2.0 got released today? Find out what else DHH said. [00:11:14] Chris explains the new updates with Stimulus 2.0 and the new values stuff being really nice, and Jason tells us one of his favorite things he saw along the value stuff.[00:18:08] Jason expresses how excited he is with Stimulus 2.0 and the Hey stuff. Chris tells us how JavaScript is still the biggest pain point and more things DHH said.[00:20:18] Jason had the idea that Stimulus 2.0 is going to be like Stimulus Reflex, and Chris shares some thoughts on this.  [00:24:36] Jason mentions that DHH said if they have built in solution for WebSockets and job queues and he wonders how queues play into this and Chris explains.[00:27:13] Chris has been working on the custom process support, like a Procfile, for Hatchbox, and he tells us what you’ll be able to do with it. He also talks about how he built his own version of CableReady to use with this. [00:33:12] Jason talks about how CableReady is so “clutch” to him and why it just keeps getting better.[00:36:23] We end with Chris talking about the Ruby Advent Calendar.Panelists:Jason CharnesChris OliverLinks:Rails AutoscaleShopify-“Black Friday Cyber Monday 2020: An Analysis of Over $5.1 Billion in Sales”25 Days of Ruby Gems- Ruby Advent Calendar 2020, December 1st-December 25thRails 6.1 RC2 and some enhancementsRails 6.1: Horizontal Sharding, Multi-DB Improvements, Strict Loading, Destroy Associations in Background, Error Objects, and more!- by eileencodesFull Stack Radio Podcast- 150: Secret Screencasting Tips & Behind the Scenes of Tailwind CSS 2.0 by Adam WathanCableReadyStimulus 2.0 Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter
undefined
Dec 22, 2020 • 47min

Live Recording: Hotwire Release Day

HotwireThe live stream Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter
undefined
Dec 18, 2020 • 51min

Andrew's Haml/ERB trailer, TailwindCSS 2.0, and instant Browser Notifcations with CableReady

[00:00:39] Jason starts off by talking about a Rails app he went back to that he built and hasn’t touched since March. [00:02:05] Jason upgraded Ruby in Rails and then started the Tailwind 2.0 update and was surprised at how easy it was for “most” things. Chris talked about his moment when he upgraded Jumpstart Pro. [00:04:27] Chris mentions patching Webpacker to fix the Webpack DevServer changes and it was not his favorite upgrade. Andrew shares some info about Webpack and why it may not have been working for Chris.  [00:08:44] Chris tells us a fun fact about Rails Webpacker’s master version. Jason tells us an issue he ran into with his app to get PurgeCSS working with form.text_field.  [00:15:34] Last week Jason and Chris talked about the Ryan Bates DigitalOcean extravaganza and it is brought up again how it had one heck of a resolve! Jason reads Ryan’s Tweet and it was AWESOME!!! [00:20:08] Listen to the amazing trailer for the Haml/ERB video that Andrew talked about doing but had the help of their editor do it instead. ☺[00:22:06] Jason talks about a project he’s been working on using Hatchbox and how it still works, and Chris mentions an issue he had with DigitalOcean with OAuth. Jason gives a shout out to Hatchbox. [00:29:18] The topic of Hatchbox and desktop notifications is mentioned along with the latest update that CableReady now has an API for sending notifications. Also, another cool thing they added was the ability to do pushState.[00:37:17] Andrew makes a reference to “my kitchen sink” and we find out what this is. Jason still wants to build a Bridgetown Site with Andrew on a “normal path” and they discuss this.[00:42:48] Andrew brings up the new controversy around the new Mac and the M1 chip and how things were going to work. Andrew bought a new computer and had an issue with Homebrew not working.[00:45:28] Jason talks about Hey doing an amazing stunt where they have a dumpster fire and it’s live-streamed.Panelists:Jason CharnesAndrew MasonChris OliverLinks:Tailwind Config setup to get PurgeCSS working with form.text_field-Jason CharnesHey.com-Dumpster fireThat Detroit Andy TwitterRyan Bates TwitterHatchboxDigitalOceanCableReady-GitHubRails Webpacker-GitHub“Introducing the next generation of Mac”-Press ReleaseTailwindCSS Upgrade GuideHomebrewWebpack DevServer Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter
undefined
Dec 11, 2020 • 1h 4min

Modeling friendships is hard, Railscasts nostalgia, and reviving ActsAsTenant

[00:00:47] Jason and Chris talk about modelling friendships in your database models. [00:06:56] Chris brings up building teams and inviting people being tricky.  [00:08:35] Jason talks about using HasFriendship library, which lets you add friendship features to your ActiveRecord models. Chris mentions to Jason about watching a RailsCasts episode on Self-Referential Association by Ryan Bates.[00:13:31] Chris talks about working with an app a long time ago, and he explains how naming your code in your domain saves you a lot of trouble.  [00:18:27] Chris talks about Ryan Bates Tweets he made recently and how people are still watching RailsCasts. Jason brags about something Chris did for Ryan.[00:24:25] Chris brings up reviving old projects and mentions the Acts As Tenant gem hasn’t had any updates for a year so he’s been using that in Jumpstart Pro. Chris emailed the author and he heard back from him to get access to it to clean it up.[00:30:22] Chris lets us know he did a Screencast on some updates for Acts As Tenant on GoRails. He also did a new release of Acts As Tenant Version 0.5, which he needs to bump up to 1.0 very soon. [00:33:57] Jason tells us about a card game he recently built in Rails. [00:37:28] Chris talks about how he should have used a Vue Component when he was working on Version 2 of HatchBox, and he tells us the trickiest part of updating pages.[00:41:51] Jason tells us what he did with a Stimulus Reflex Course, and it involves him making Toast that are broadcast from Cable Ready. Chris tells us he built the Tailwind Stimulus Components library and what he merged with it.[00:47:15] Chris explains why Stimulus and Alpine are very compatible and easy to use.[00:50:37] Chris announces Tailwind CSS v2.0 came out and the new website looks cool. Jason talks about either making another repo under the Pay namespace or just working on Pay to make it simple to work with Stripe Checkout.[00:59:39] Chris goes in depth about something he wrote this week which he says he should turn into a Screencast. Panelists:Jason CharnesChris OliverLinks:HasFriendship-GitHubRailsCasts-Episode #163 Self Referential Association with Ryan BatesRyan Bates TwitterActs As Tenant-GitHubHelp Maintaining acts_as_tenant #234Tailwind CSS v.2.0Alpine.js-GitHubStimulus-GitHub Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter
undefined
Dec 4, 2020 • 48min

Bridgetown, APIStruct, Hashie, and generating PDF forms in Rails

[00:05:05] What’s new in Ruby and Rails Land?  Andrew announces RubyConf 2020 (virtual) is next week.[00:09:20] Jason spun up a Bridgetown site with Tailwind and said it was fun. Andrew says he’s been playing around with it a lot this week and made a short video on how to add Tailwind, and he went full hog into Snowpack again. [00:10:12] Jason asks Andrew if he ever gut the Webpack setup in Bridgetown and replace it with a Snowpack setup. Andrew talks about the video he made (link below). Jason mentions how he found it really easy to deploy Bridgetown on Netlify and he’s excited to expand on it. [00:15:24] Andrew tells us the one thing with setting up Bridgetown and the way Tailwinds auto purge works is very “funky monkey” when you try to mix it in with Webpack, which is why Snowpack is a lot easier. Jason mentions Headless UI being awesome. Chris tells us he uses a mixture of the Stimulus Controllers that he’s written and the old Alpine.js, Tailwind UI stuff on GoRails. [00:21:16] Jason tells us somebody was talking about Bootstrap on Hacker News the other day because Alpha 3 of Version 5 came out.[00:22:25] Andrew lets us know if you’re trying to build an API client gem for something there’s a gem called ApiStruct.  He also talks about another gem called Hashie, which is also nice. [00:29:16] Chris talks about cleaning up an app that he inherited that’s over nine years old, and there’s a lot of baggage in a library like that.[00:38:16] Jason talks about how he generated PDF’s the other day. He also tells us how he had trouble getting Webpack to render his assets into Wicked PDF.  Also, he mentions a great gem he found called PrawnRailsForms that look like forms from the IRS. Panelists:Jason CharnesAndrew MasonChris OliverSponsor:HoneybadgerLinks:Headless UIBridgetownRB“How to use Tailwind CSS with BridgetownRB”-By Andrew Mason (YouTube) ApiStructHashieWicked PDFPrawnRailsFormsRubyConf 2020Hacker News “Bootstrap 5 Alpha 3”If you'd like to sponsor future episodes, send an email to chris@gorails.com Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter
undefined
Nov 27, 2020 • 60min

Modernizing A Community Is Hard

[00:00:34] Jason and Chris chat about voting, election, and COVID. Chris mentions a GitHub repository that posts the election votes in real time. [00:9:56] Chris tells us there is good news on the horizon with Ruby 3.0 and Rails 6.1 coming out soon, and the guys chat about the changes. [00:13:10] Jason is curious on Chris and Andrew’s thoughts on how Turbolinks is going to affect the adoption and the use of StimulusReflex. [00:19:37] Andrew talks about how the messaging around Turbolinks has never been as good as it could have been. Chris talks about the biggest flaws with Turbolinks and Stimulus. [00:23:30] Jason touches on something deeper talking about people contributing to docs and how he finds StimulusReflex less intimidating to contribute to as a whole. Andrew talks about community building, using Discord, how people take things too far, and words matter.[00:31:00] Chris talks about joining a community where everything is broken because people are adopting this new tool, it’s really hard to get excited about that community. Andrew mentions frustrations he used to have with the jQuery plugin.[00:37:00] Andrew’s been noticing some Rails Developers not wanting to change or learn new things and wonders if the guys have thoughts on this. [00:45:40] Andrew brings up how cool Snowpack is and how Spelt is completely moving over to Snowpack. Also, Bridgetown is working on Snowpacker to bring Snowpack to Rails, and how Webpack makes no sense and it’s impossible to navigate.[00:50:00] Chris mentions there’s a lot of value to removing the context switching of JavaScript on the front end and Ruby on the backend or any other language. Jason talks about why he loves Convention over Configuration.[00:53:54] Find out about the Haml video Andrew is making. ☺Panelists:Jason CharnesAndrew MasonChris OliverSponsor:HoneybadgerLinks:Election Results GitHub RepositoryRubyConf 2017: Saving Ruby from the Apocalypse by Jason Charnes-YouTubeRuby on Rails 3.0 Release NotesRails 6.1 Release NotesDiscordStimulusReflexSnowpackHaml-GitHubIf you'd like to sponsor future episodes, please email chris@gorails.com Chris Oliver X/Twitter Andrew Mason X/Twitter Jason Charnes X/Twitter

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app