Remote Ruby

Chris Oliver, Andrew Mason, David Hill
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/TwitterAndrew Mason X/TwitterJason 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/TwitterAndrew Mason X/TwitterJason 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/TwitterAndrew Mason X/TwitterJason Charnes X/Twitter
undefined
Nov 20, 2020 • 50min

Reimagined Rails views using Matestack with Jonas Jabari

[00:00:48] The guys catch up on what’s been going on this week. Chris tells us he’s been using Jumpstart in rebuilding Hatchbox this week. Andrew has been on PTO all week, so he’s been chilling, cleaning, and in the middle of refactoring. Jason tells us about a call he got from someone who had signed up for HopeGrid.[00:07:22] Jonas tells us about himself and what Matestack is. [00:10:38] Find out how Matestack is different from View Component or a traditional kind of component type gem.  [00:12:34] Jonas explains what the Component UI’s written in Ruby look like.[00:15:09] Chris asks Jonas if the responses are rendered in the JavaScript or is it actually making an Ajax request to render. Jonas explains two of the three layers of Matestack.[00:19:55] Andrew asks if Vue.js is required to use Matestack or if it’s an option.[00:23:15] Andrew makes a point to say that the docs are pretty comprehensive and Jonas has a really nice marketing site and it looks like he is trying to monetize this in a way he hasn’t seen a lot of people monetize open source before so he talks about it.[00:28:33] Jonas tells us why someone should use Matestack and all about testing.[00:37:22] Chris asks Jonas if he has a roadmap of things that he would like to have done that people can poke around through to see if they can find something to contribute and get involved. Also, Chris wonders if he has a Discord or anything for people to hang out in, and Jonas explains. Andrew talks about his success with Discord.[00:42:34] Jonas teases the third layer of Matestack and Chris asks Jonas if there are helper things to help debug when he wrote Ruby, but JavaScript broke.[00:46:22] Speaking of errors that can happen, Jason tells us a great way to find these Ruby and JavaScript errors in your application. Also, we find out where to find Jonas online. Panelists:Jason CharnesAndrew MasonChris OliverGuest:Jonas JabariSponsor:HoneybadgerLinks:Jonas Jabari TwitterMatestackmatestack-ui-coreDiscordIf you'd like to sponsor future episodes, please email chris@gorails.com Chris Oliver X/TwitterAndrew Mason X/TwitterJason Charnes X/Twitter
undefined
Nov 13, 2020 • 57min

Webpacker in Engines & Dealing with Burnout

[00:01:25] Chris talks about going down the rabbit hole since their discussion last week about Webpacker and Rails Engines which was on his to-do list, and he finds out it is rough.[00:05:31] Andrew asks Chris if there was anything in the Webpack or Docs that made him think that maybe he should add this, or did he already cover it and he explains.[00:07:46] Chris explains a problem he ran into with JavaScript and CSS to display graphs and about using a JavaScript pack tag in the Main Rails App.[00:14:17] Chris tells us why he loves Devise and Andrew asks how long Chris thinks it will be before we are going to be able to see madmin and installing Action Active Mailbox is mentioned. [00:17:41] Chris asks Andrew if he’s ever called,”user.modelname” which Chris says is the coolest thing.[00:19:32] There are a few things Chris is not sure he loves about Administrate. Andrew tells us he went down an eager loading, auto loading, no loading, lazy loading path this week. Also, Chris explains something he did in madmin with adding a directory into your app. [00:27:20] Andrew realized this week that he is completely burned out and sputtering to the finish line and he’s taking next week off to do some self-care. Chris asks him what his plans are to rejuvenate and back into enjoying stuff again. Andrew talks about a paper that defines “burnout,” the cleanliness of workspace and rooms, goals in life, and fixing his sleep schedule.[00:36:38] Andrew mentions an app he started using called “Blinkist” which is kind of the spark notes audio version of books, and he talks about books he’s been reading to help him with setting goals. Chris shares some advice too.[00:38:55] Chris asks Andrew if he has any thoughts on how he will keep himself balanced long term. We learn about Andrew’s relationship with people, especially with friends and family, and how he needs a support system and therapy. Chris tells us about his friendships and support groups and what has helped him.[00:53:13] Find out why Chris was trippin’ up the other day with the change on GitHub and Laravel Forge adding some error messages. Panelists:Andrew MasonChris OliverSponsor:HoneybadgerLinks:Rack Mini ProfilerRuby on Rails- ActiveModelBlinkist“Understanding the burnout experience: recent research and its implications for psychiatry”-World PsychiatryBath & Body WorksIf you'd like to sponsor future episodes, please email chris@gorails.com Chris Oliver X/TwitterAndrew Mason X/TwitterJason Charnes X/Twitter
undefined
Nov 6, 2020 • 43min

New Rails API docs, Webpacker "fun", and security.txt

[00:03:05] Chris mentions Kasper posted a link to a PR that updates the Rails API guides, which now includes the sidebar with all of the classes and turbo links in there.[00:04:54] Andrew brings up Docs and tells us there’s a ton of Webpacker documentation in a folder in the Webpacker repo called “Docs” and there’s a lot of documentation in there that a lot of people probably don’t know about. [00:09:28] Jason was reading the Docs and just realized you can import Sprockets files into your webpack stuff.[00:12:17] Andrew brings up a problem he’s had with webpack configs and how he found a few things in it that could be improved.  Chris and Jason share their thoughts, and CoffeeScript is brought up in the conversation.  [00:21:11] Andrew says UJS is going away. Jason tells us his problem with UJS.[00:23:15] Chris tells us about the problems with Rails Scaffolds and what Turbolinks 6 is addressing. [00:25:55] Chris talks about using the Turbolinks render library in Jumpstart Pro.[00:30:19] Andrew asks the guys if they’ve ever heard of “security.txt” and he tells them all about it. He also wonders if this could be a cool gem to create and wonders if it could be done. Chris gives him advice on what he can do.[00:36:38] Jason mentions Cloudflare that prevents the typical mail to spam you get and Chris tells us about how he is working on generating routes in madmin. Panelists:Jason CharnesAndrew MasonChris OliverSponsor:HoneybadgerLinks:Find out where DHH is-The Rework PodcastWelcome to RailsWebpacker Ruby on Rails- “How to pack js from a different gem/engine in Rails 6 + webpacker? It seems frustratingWebpacker-Import from Sprockets using helpersSurviveJS-WebpackRails UJS documentationSecurity.txtCloudflare- What is Email Address Obfuscation?Allow ‘route’ generator action to insert after any line with indentation-GitHubRails Guides-Configuring Rails ApplicationsCoffeeScriptCoffeeScript adapter for the Rails asset pipeline-GitHubmadminIf you'd like to sponsor future episodes, please email chris@gorails.com Chris Oliver X/TwitterAndrew Mason X/TwitterJason Charnes X/Twitter
undefined
Oct 30, 2020 • 45min

🎉 Episode 100!! Upgrading Rails with Ernesto Tagwerker

[00:05:18] Ernesto gives us an introduction of who he is and what he does.[00:10:43] Ernesto talks about the last RailsConf in Minneapolis when they were all together. Andrew talks about wanting to upgrade a Rails App and how he came across Ernesto’s FastRuby that had great content, which is why he asked him to be on the show today. [00:12:39] We learn about FastRuby.io from Ernesto. He also talks about the kinds of things you need to think about before you upgrade Rails and what to do if your Test Suite isn’t that great. [00:17:51] Ernesto tells us his dream gem.  Chris talks about a Chrome extension that would help write system tests based on what you wrote in the browser, and Andrew mentions the name of that gem which is “Heaven’s Door.” [00:21:08] We learn besides having a good Test Suite, the next thing you need before upgrading Rails is to have a continuous integration working, and Ernesto explains this.[00:22:21] Andrew talks about Dual Booting Rails and he’s interested in it but needs to explore it more because it sounds complicated. He asks Ernesto to explain some common issues he runs across. [00:24:12] Chris wonders if Ernesto encourages people, once they get up to Rails 6, to continue Dual Booting against Rails Master.  Ernesto talks about an article they have that talks about how to stay up to date so that this painful Rails upgrade process doesn’t happen again. Andrew gives advice to strongly version your gems in your gem file which he promises will make your life easier! ☺[00:27:18] Jason is interested in the idea of running a build against a master Rails and he’s curious how to temper that. Chris talks about fiddling with the Appraisal Gem.[00:30:51] Ernesto talks about how he recently started maintaining a gem called RubyCritic, and he explains what it does. [00:34:09] Chris asks Ernesto how much he sees Ruby related things needing to be fixed when you’re upgrading apps versus gems and rails configuration things. He mentions Rails LTS, which is long time support for Rails.[00:36:59] Ernesto tells us a new service they are working on called, State Updated Service, which is a Rails service to keep your application up to date. [00:41:59] Ernesto gives a list of resources that people can look at to upgrade their Rails App.Panelists:Jason CharnesAndrew MasonChris OliverGuest:Ernesto TagwerkerSponsor:HoneybadgerLinks:Ernesto Tagwerker TwitterErnesto Tagwerker GitHubOmbuLabsOmbuLabs TwitterFastRuby.io TwitterErnesto Tagwerker-Open Source: When Nights and Weekends Are Not Enough-Southeast Ruby 2017- YouTubeFast Ruby- The Complete Guide to Upgrade Rails e-bookHeaven’s DoorHow to Stay Up to date with Your Rails ApplicationChris Oliver X/TwitterAndrew Mason X/TwitterJason Charnes X/Twitter
undefined
Oct 23, 2020 • 49min

Self-care as a developer, Ruby 3.0, Sorbet, and more

[00:01:38] Andrew tells us about his weekend having to truncate 250 million rows and how he had to take care of a few issues.  Jason talks about what he’s been using to search. [00:05:14] Jason talks about using a Laravel package called Scout. [00:06:50] Andrew tells us about having wrist problems and is trying to come up with solutions to help his situation. He asks Jason if he has any suggestions. They both chat about what they do for self-care and how they could manage stress better. [00:18:50] Since Andrew has been eating so terribly, he decided to get Blue Apron, the meal delivery service, and he loves it!  It has transformed his diet. ☺ Jason talks about his difficult relationship with food. [00:28:36] Andrew talks about all these contraptions in the kitchen that he didn’t know how to use except as a weapon. One thing in particular is the garlic press. [00:30:25] Andrew and Jason discuss why they love Honeybadger.[00:32:38] Andrew asks Jason if he’s tried Ruby 3.0.0 and he tells Jason why he should try it.[00:36:20] Andrew announces he got a commit to Ruby and it was a great day! Jason talks about RBS being cool. Andrew mentions not liking Sorbet and why. [00:40:06] We learn in order to use RBS, the easiest tool to use is a gem called Steep, gradual typing for Ruby. Andrew explains what it does. Jason talks about using Solargraph in VS code.[00:43:15] Andrew tells us he started working on creating a course or a writeup, something he can get paid for, that tells you on to use VS code with Ruby. He thinks he has figured it all out after all these years and he wants to share his wealth of information. [00:45:20] Jason asks Andrew for his thoughts on TypeScript and why he likes it.Panelists:Jason CharnesAndrew MasonSponsor:HoneybadgerLinks:Ruby RBS-GitHubSorbetSteep-GitHubLaravel Scout-GitHubRuby 3.0.0SolargraphTypeScriptBlue ApronGarlic  PressIf you're interested in sponsoring future episodes, send an email to chris@gorails.com Chris Oliver X/TwitterAndrew Mason X/TwitterJason Charnes X/Twitter
undefined
Oct 16, 2020 • 46min

Getting started in Ruby & Rails with Will Johnson

[00:00:25] What have the guys been up to? Jason tells us he’s been working on his editor project with Reflex and Cable Ready, Chris has been working on Stimulus Reflex, and Andrew’s project is trying to truncate a table that has 225 million records in it! Yikes! Fingers crossed for Andrew! [00:07:20] Will tells us all about himself and how he got into Rails. [00:09:02] Will gives us a synopsis of his E-book, Break Into Tech With Twitter, that was released a few weeks ago. [00:10:21] Andrew asks Will, as a newer developer, what it’s like transitioning from JavaScript into Ruby on Rails.[00:12:40] Chris wonders if going from JavaScript with all the call backs into Ruby if it was hard for Will to wrap his head around the way the language operates differently.[00:15:12] Jason asks Will if his experience with JavaScript was front end or backend. Also, how difficult was it knowing JavaScript, which is a programming language for the front end, and then trying to apply the concepts to serve -side programming.[00:16:26] Will tells us his super cool and inspirational story of his background. Also, he tells us about his current job at Egghead and if he thinks he will be there for a long time.  [00:32:21] Andrew asks Will what he’s doing to keep up on his learning around Rails. [00:34:16] Chris and Jason share some great resources for beginners.[00:36:27] Will shares some things that he found that worked for him when he first started out, in terms of learning more about Ruby. He talks about how he didn’t get models.[00:43:48] Will tells us where we can find him online. Panelists:Jason CharnesAndrew MasonChris OliverGuest:Will JohnsonSponsor:HoneybadgerLinks:Will Johnson TwitterWill Johnson BlogBreak Into Tech With Twitter by Will JohnsonEggheadPodiaWeb-Crunch-YouTubeRails TutorialMetaprogramming Ruby: Program Like the Ruby Pros by Paola PerrottaEloquent Ruby by Russ OlsenRailsCastsRails for ZombiesAgile Web Development with Rails 5.1 by Sam Ruby, David B. CopelChris Oliver X/TwitterAndrew Mason X/TwitterJason Charnes X/Twitter
undefined
Oct 9, 2020 • 1h 2min

Joined by Adam Wathan: TailwindCSS, Tailwind UI, and ActionView Components

In this episode we welcome back a special guest, Adam Wathan, creator of Tailwind CSS. We find out some cool things that have happened in Tailwind, new things that have launched in Tailwind UI, and issues he ran into when building it. Adam tells us about a work system they use called the six-week cycle with a two-week cool down, which really helps with prioritizing things. We also talk with Adam about how he approaches building components in JavaScript libraries like Vue in an effort to apply some of that wisdom to ViewComponent.[00:04:26] Adam tells us all the cool things happening in Tailwind.[00:08:09] Jason wonders if Tailwind UI is considered early access.[00:10:52] Jason is curious to know when Adam comes across sites in the wild when he’s using the web, does he wonder if it’s Tailwind or Tailwind UI. [00:13:37] Adam talks about issues he ran into when building Tailwind UI. He also mentions another project that he hopes will be out by end of the year or early next year.[00:24:47] Chris wonders if Adam realized they were going to run into everybody wondering how to write the JavaScript for these components in Tailwind UI.[00:32:58] Adam tells us what his life is like now during the day since he’s taken on employees, and if he finds himself doing a lot more business work versus open source or Tailwind UI work. He talks about the “six-week cycle with a two-week cool down” that they have been doing at work.[00:40:18] Jason’s been using a lot of Tailwinds UI and a lot of Rails, and he is wondering what Adam’s approach is to building components in Vue and React.[00:49:46] Jason and Adam discuss table components and Adam mentions the Braid Design System and React Native Web.[00:57:34] Jason asks Adam if he has any bets on the new HEY technology that Basecamp is releasing.Panelists:Jason CharnesAndrew MasonChris OliverGuest:Adam WathanSponsor:HoneybadgerLinks:Adam Wathan TwitterFull Stack Radio-Podcast hosted by Adam WathanTables solutionBraid Design SystemReact Native for Web-GitHubTailwind CSS BlogIf you're interested in sponsoring future episodes, send an email to chris@gorails.com Chris Oliver X/TwitterAndrew Mason X/TwitterJason 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