Posts

💎Rails tip: Exists?

Sebastien Auriault on Dec 04, 2021
Do you sometimes simply need to know if a record exists and not get its data? ActiveRecord gives you this convenient method "exists?" to do exactly that, in a performant way.

Rails 7, Railties, and Sorbet at Shopify with Rafael França from Rails Core

Jason Charnes on Dec 03, 2021
We are back from RubyConf and excited to have as our guest, Rafael França, who works at Shopify and here to chat with us about Rails and Ruby things. Today, we learn what brought Rafael into Ruby and then into Rails. We find out more about what happened with the Rails and Merb merge, what a Railtie is, and how the Rails engine builds on top of the Railtie. He also tells us more about his team at Shopify, his thoughts on the state of Rails 7, using Types in Rails, Tapioca, and why Shopify chose Sorbet instead of RBS. Go ahead and download this episode now to find out more!

💎Ruby tip: Pulling code and get up-to-date alias

Sebastien Auriault on Nov 27, 2021
Do you often have to run bundle, yarn install and run migrations after pulling code? Here's a convenient alias to do all that for you.

Live from RubyConf 2021!

Jason Charnes on Nov 24, 2021
Welcome to Remote Ruby and thanks for joining us! We are LIVE from Denver at RubyConf 2021 with a big podcast crossover episode. Today, we have Jemma Issroff who is one of the co-hosts of the Ruby on Rails podcast and is moderating this panel. We have three other podcasts represented here across five panelists from Remote Ruby Podcast, The Code with Jason Podcast, and The Ruby on Rails Podcast. Joining us from those podcasts are Andrew Mason, Jason Charnes, Emily Giurleo, Nick Schwaderer, and Jason Swett. Today, we have discussions about the RubyConf talks, which ones everyone is most excited to go to, and what is so special about the Ruby community to each panelist. Then the conversation shifts to finding out why they like to come to these conferences, why they like to do podcasts, which podcasts they are most proud of putting out, thoughts on the diversity of people they bring on their podcasts, and stories about why everyone loves Brittany Martin! There are some questions from the live audience such as how they come up with interesting content for their podcasts, who their “Ruby Heroes” are, and how they avoid burnout from consistently producing episodes. This is a must listen to episode, so go ahead and download it now!

💎Ruby tip: Debugging exit all

Sebastien Auriault on Nov 20, 2021
Debugging with IRB/Pry and stuck in a loop or just don't wanna go through all the stops typing exit all the time? No need to shut down your server! Simply type 'abort'. This will exit out of all future stops.

RubyConf 2021 | Talks We Liked and People We Met

Jason Charnes on Nov 19, 2021
Today, the conversation is all about RubyConf. You can just hear it in their voices how much fun they had just being with all their friends, catching up, eating out, and lots of great talks they went to. You won’t want to miss finding out the two things that Jason doesn’t like. Hint, one rhymes with schmarmabillo! Jason tells us more about Matz’s talk on the Ruby 3 Nexus, Chris fills us in on a new screencast he just did on the new load_async in Rails 7, and we find out some new things happening in the Ruby world. Go ahead and download this episode now to hear more funny stories from the guys!

💎Rails tip: Rails Runner

Sebastien Auriault on Nov 13, 2021
Did you know that you can use Rails runner command to run Ruby code from the terminal directly in the context of your application without having to go in the Rails console?

Andrew and Jasons Mall Stories and Elixir

Jason Charnes on Nov 12, 2021
Any Rocket League players out there? Andrew is looking for anyone who is interested and wants to play with him, but just so you know, he is a gold ranked player! In other exciting news, the guys finally have that long awaited talk about Elixir, we hear the details about the Brakeman update, and some cool things going on in the Ruby World. Andrew and Jason are headed to RubyConf and they tell us what they’re most excited about. Also, we find out what fascinates Chris with Elixir of the LiveView and why Jason said, “Everything is stateful in LiveView.”

💎Rails tip: Rails console sandbox

Sebastien Auriault on Nov 06, 2021
Need to test some code that runs queries? The Rails console sandbox is the perfect place to play around without affecting your development data.

Ruby on the Apple M1 Max And Things You Expect To Be Fine But Arent

Jason Charnes on Nov 05, 2021
Today, we have Chris and Andrew in the house talking about how long their week was filled with a delay of windows at Chris’s house and Andrew shipping a new project at work. Let’s hope they can look through the glass to a better week ahead! In this episode, Andrew tells us about being in crunch time mode with the project he was working on and DNS issues he encountered, and Chris tells us why he’s been postponing the new Hatchbox launch. We learn why Chris loves his new Mac, installing issues on a new M1 Mac, issues with Sass, and the abandoned Ember CLI Rails gem. Also, a new GoRails Screencast is coming up soon with Chris and Kasper and find out more about the awesome tutorial that came out on “Deploying a Rails application to Kubernetes.”

💎Ruby tip: Discover methods

Sebastien Auriault on Oct 30, 2021
Trying to remember a method name or just discover what you can call on an object? Ruby has you covered!

Destroy Async, Miss Hannigan, Wisper, and Parcel

Jason Charnes on Oct 29, 2021
We get an update about Jason’s power outage that happened last week, Chris tell us about an exciting point his house is at right now, and Jason has a billion dollar business idea for Chris that has to do with Pringles and shingles, and sadly Andrew puts that idea in the “gutter.” So pop open a can of Pringles or hit the Taco Bell drive-thru because the boys are about to take a deep dive into callbacks, some gems called Miss Hannigan, Wisper, and Noticed, and find out more about Parcel and Rails Event Store. Also, the guys share stories about JQuery and what’s going on with Rails 7.

💎Rails tip: Console custom methods

Sebastien Auriault on Oct 23, 2021
Did you know you can add custom methods automatically available in the Rails console? Useful for things you often need to do in the console like logging in.

Turbo Native & Hotwire - How Polywork Supercharges Development

Jason Charnes on Oct 22, 2021
Unfortunately, Jason can’t be with us today since a storm ripped through his hometown, a tree came crashing down and ripped the electrical cords off his house, so now he has no power! However, Chris and Andrew are in the house and we are super excited to have three guests with us. Today, we have joining us from Polywork, Joe Ferrairo, Chris Polk, and Dylan Ginsburg. Joe is Engineering Lead, Chris is VP of Engineering, and Dylan is Lead iOS Engineer. They are here to talk more about Polywork and all the cool stuff they are doing to make it happen on the iOS side. We find out things that make a good Rails Developer and what type of person would be best to join the Polywork team. There is also an interesting story behind celebrity emoji keyboards and how Kanye tried to sue one of our guests! Also, Polywork is hiring!

💎Rails tip: Debugging views

Sebastien Auriault on Oct 16, 2021
Did you know that since Rails 6.1, you can add one line in your config to have comments added to your HTML showing you where each part of your view comes from (layout, component, partial..)? Useful for debugging views in the browser.

Yuh-Jit - Optimizing JIT compiler built inside CRuby

Jason Charnes on Oct 15, 2021
Chris was all set to finally have his wedding ceremony, but he and his wife got COVID! They’re both feeling better, but the festivities will have to be rescheduled yet again. We’ll keep the good times rollin’ here today and we find out if the guys have done anything with Rails 7 yet. Jason tells us about using Lockbox and Symmetric Encryption, and we learn more about Ruby 3.1 and the new project from Shopify called YJIT. The guys also chat more TenderJit, “dnssd gem,” Rubyist 1.0 App, and DragonRuby. Also, Andrew makes an announcement that Ruby Radar is giving out free tickets to RubyConf 2021 so go check it out!

The Podia Way

Jamie Lawrence on Oct 14, 2021
Curious how we build @podia and the engineering culture behind it? After a few years, it felt like we had some strong principles but nothing written down. That changed earlier this year and we compiled a team charter from a few simple questions…

💎Rails tip: Association extraction

Sebastien Auriault on Oct 09, 2021
Did you know there's an ActiveRecord method that allows you to extract associations from a relation?

Propshaft, Engines, and Turbo | Uh This Isn't a Car Repair Podcast

Jason Charnes on Oct 08, 2021
If you’ve accidentally clicked on this podcast due to its title thinking we’re going to talk about the advantages of the Ford Coyote over the Chevy LS, sorry to disappoint! Our boyz run Rails under their hood. ☺ On this week’s episode, Jason, Chris, and Andrews cruise through Propshaft, Engines, Turbo, Hotwire, and more! So put the pedal to the metal as we go into overdrive on this episode of Remote Ruby!

💎Rails tip: Form namespaces

Sebastien Auriault on Oct 02, 2021
Did you know you can add a namespace to your forms so that you don't need to manually specify the URL when the model doesn't match the controller's namespace? Useful when your app can use the same resource in different places.

Making Magic with ImageMagick

Jason Charnes on Oct 01, 2021
As of today, RubyConf registration is now live so get your tickets! On today’s episode, we find out more about Jason’s interesting project he’s working on with a Mockup Generator and how MiniMagick has been working very well for him doing the commands, but he’s looked into using Cloudinary as well. We also get a little lesson on the magic behind ImageMagick, and hear more about the Rails 7 upgrade, Turbolinks, and Turbo. The conversation takes the back roads to the end of the episode talking about Mailchimp being sold to Intuit, hope that MicroConf happens next year, and how Reddit plays a role in why Jason thinks he lives in St. Louis, even though he actually lives in Memphis.

💎Rails tip: Model validations on contexts

Sebastien Auriault on Sep 25, 2021
Did you know you can add model validations for only create, update, or even custom contexts?

Red Pill-Blue Pill and CSS Bundling

Jason Charnes on Sep 24, 2021
Some exciting things going on this week for the guys! Andrew hit some baseball games last weekend and became a bandwagon fan, Chris got to fly his drone and watched the crane putting up the trusses on his house, and Jason’s working on a side project and he’s using ImageMagick. Some other interesting things discussed today are the CSS bundling stuff that’s been going on, RubyConf 2021 coming up and if it still going to be an in-person event, and Chris tells us about an online talk he’s doing for Sardines.rb you should check out. The guys also have discussions on the new Debugger, using Pry, Stripe Checkout, and an app Andrew loves called RDM. Also, find out what would happen to Andrew if you ever asked him for his autograph! ☺

💎Rails tip: Default value for belongs_to associations

Sebastien Auriault on Sep 18, 2021
Did you know you can set a default value to belongs_to associations?

Once you get it working, it works!

Jason Charnes on Sep 17, 2021
Today, it’s just the three of us, we’re going to make it and we’re going to try, especially since Andrew needs his meds refilled and can’t seem to get them since he’s moved to Phoenix. But hey, we’re going to get Andrew’s mind off of that and talk about how it was a big week for JavaScript in Rails. Jason starts us out by explaining a JavaScript tool he’s been building, using Vite, a problem he had, and a solution he found. Then, the guys chat more about esbuild for Rails, Tailwind CSS Rails gem, Importmap for Rails, and Sass being removed from Rails 7. If you’re in the mood for some good ol’ laughs today, this is the episode to listen to! Also, find out why Andrew said, “Once you get it working it works!” ☺