Ain't Your Callback Girl

EPISODE · Aug 25, 2023 · 35 MIN

Ain't Your Callback Girl

from Remote Ruby · host Jason Charnes, Chris Oliver, Andrew Mason

In this episode, Chris, Jason, and Andrew engage in a discussion revolving around the functionality and nuances of generated columns, callbacks, and coding practices in database and Rails applications. They explore the benefits and challenges of these features, and they dive into the complexities of coding tests.  They also discuss the HTML Pipeline library, GitHub’s markdown processing, and the Rails function for rendering rich text associations. Jason, Chris, and Andrew share their personal experiences, they explore the deeper layers of the Rails ecosystem, and they touch on Rails upgrades and the importance of maintaining minimal dependencies. Join us for a blend of tech insights, nostalgia, and humor! [00:00:51] Chris jumps right in and asks the guys if they’ve ever used any virtual generated columns, and Jason shares a story about a diesel spill in the water supply near Memphis. [00:02:31] In other news this week, Chris talks about the technical aspect of searching for users in the databases and the introduction of generated columns, he mentions Jamie’s involvement in PRs related to the feature, the bugs he encountered while trying to feature in SQLite, and how generated columns work in Active Record and their current limitations.   [00:09:19] Chris asks Andrew and Jason if they’ve ever used generated or virtual columns in the database. Jason discusses his views on callbacks and the Name of Person gem. Chris mentions Jorge’s post about callbacks. [00:12:56] Jason discusses the pros and cons of using callbacks. He finds them convenient but also problematic at times. Chris provides an example where callbacks come in handy. [00:15:17] Jason states he has some high-level rules about callbacks, and Chris and Jason discuss when it’s appropriate to use callbacks, like when making HTTP requests or sending emails. [00:16:16] Chris brings up an old tutorial on Stripe where the save method also involved verifying data before sending a request to Stripe. [00:17:20] Andrew introduces the idea of a “smell test” for potential pitfalls in code. He shares his experience of having to work around callbacks when they caused unexpected changes in records. [00:18:08] Jason shares his thoughts on testing, especially when callbacks create tightly coupled associations. [00:18:50] The guys share various stories about tests failing due to timing and other unexpected conditions. They also joke about different “solutions” to these issues.[00:22:24] Jason introduces the HTML-Pipeline library, which he recently used. He praises GitHub for its tech center and variable support, emphasizing its capability in content replacement. Chris recalls using GitHub for its auto-link feature which identifies HTTP and HTTPS links. [00:24:46] Chris reminisces about the early days of GitHub, its hiring spree, and the cool open source tools they released. [00:25:21] Jason describes building an action-text style structure for content, which allows for rich content editing and rendering, Chris appreciates the simplicity of this system, and they discuss the Rails function and how it renders text associations. [00:27:24] Jason highlights a limitation with the ‘render in’ method, where it doesn’t accept certain arguments and he talks about the structure of his board concept and the challenges faced with variable integration. [00:28:53] Chris shares his experience working on componenChris Oliver X/TwitterAndrew Mason X/TwitterJason Charnes X/Twitter

NOW PLAYING

Ain't Your Callback Girl

0:00 35:09

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

RUBY'S ROUNDTABLE Ruby Durham AS RUBY SHARES HER RISING ENTREPRENEUR JOURNEY WITHIN MUSIC, FASHION DESIGN AND PRODUCTIONS SHE ALSO SITS AT THE TABLE WITH A DIVERSE SET OF GUESTS WHO ARE ALSO BUILDING BRANDS WITH WHAT THEY HAVE.THROUGHOUT THE CONVERSATIONS NOT ONLY WILL YOU HAVE RESOURCES AND TAKEAWAYS TO APPLY TO YOUR OWN JOURNEY, BUT A FEARLESS AURA THAT WILL FUEL THE NEXT BET YOU'RE SET TO MAKE ON YOURSELF. #ifnotyouwho #ifnotnowwhen Weed Talk Live with Curt and Jimmy Forbidden Knowledge Network Weed Talk live is a monthly live-streamed talk show co-hosted by the founder of Cannabis.net Curt Dalton, and the founder of Pro Cannabis Media Jimmy Young. Together they have talked live with the “Father” of the California cannabis movement, Steve DeAngelo, Ex-CEO of Canopy Growth Bruce Linton, CEO of Legal Sea Foods Roger Berkowitz, former Boston City Councilor and CEO of Verdant Medical Tito Jackson, as well as other Massachusetts cannabis advocates and pioneers like Dr. Marion McNabb, retired veteran Stephen Mandile, Pediatrician Dr. Eric Ruby and many others.https://www.procannabismedia.comhttps://cannabis.net The Pathless Path with Paul Millerd Paul Millerd The Pathless Path is hosted by Paul Millerd - a writer, creator, and consultant. He has conversations with freelancers, self-employed entrepreneurs, creators, and vagabonds who share their perspectives on their relationship with work, burnout, bootstrapping, indie hacking, remote work, reinvention, creativity, sabbaticals, leisure, self-employment, unconventional living, and digital nomadism. Past guests include Ali Abdaal, Russ Roberts, Kevin Kelly, Khe Hy, David Senra, Derek Sivers, Joe Hudson, Luke Burgis, Ben Hunt, Dan Vassallo, Steph Smith, Alex Pang, Visakan Veerasamy, Michael Ashcroft, Kyla Scalon, Trung Phan, Justin Welch, and more. Remote Conferences - Audio Devchat.tv Conference talks from the Remote Conferences series put on by Devchat.tv
URL copied to clipboard!