đ Newsletter WoR #54: AI powered development, chill email replies, the color of the year...
A monthly newsletter about Ruby on Rails and the web
In this issue, we ask ourselves how AI can help us with our day-to-day dev workflows, how we can lighten our test suites and spot the right bugs, and we check out inspiring interviews of women in techâŚ
đ French version (version française) | đ¤Â Italian version (versione italiana) | đ¤Â Spanish version (versiĂłn espaĂąola)
Web News đď¸
đŽ Coding in the future
Itâs now been over a year since the ChatGPT tsunami came over us. Did you try it or not try it? Heard from those who swear by it, or even sworn by it yourself? Are you afraid that AI will take over our jobs, or unsure how to incorporate it in yours?Â
Jennifer Rigginsâ article explores creative ways to integrate AI into our work. It does mention Google services, but beyond that it shows very interesting insights on how AI can assist a developerâs typical workday.Â
â¨Googleâs Duet AI Launches GenAI across Full SDLC in the Cloud - Jennifer Riggins
Ruby and Rails News đ¤ď¸
đ On the frontend front line
Sometimes life goes by so quickly that one day youâre just working away as usual with AJAX in your Rails frontends, and then the next day BOOM the new kids Turbolinks and Hotwire are all over town and youâre so lost you donât even know how to begin asking questions.Â
Fortunately, Bhumiâs latest newsletter is here to brief you.Â
â¨How did we go from AJAX to Turbolinks to Hotwire? A brief web history -Bhumi
đ¤ News in a Nutshell
Elise Schaffer is the new host of the Ruby on Rails podcast. She has been invited to the Code and the Coding Coders who Code it podcast in which she recounts her podcasting experience and her TDD (Test Driven Development) course. She also shares her Vim tips! Â Â
Rewinding to some BaseCamp news that stood out this year: in September Turbo ditched Typescript, Kamal proposes to help us deploy web apps from bare-metal to cloud VMs.
Oops, we forgot to tell you about what's new in Rails 7.1!
Aestimo Kirina takes us through how to create a Ruby app with Sinatra.
Amanda Bizzinotto from FastRuby.io does the math and answers the big question: How Much Does it Cost to Upgrade Rails?
Ruby Tip đ
đ polymorphic_url
Just like a URL wizard, this Ruby on Rails method receives a polymorphic object and adapts to its type and instance to generate the corresponding route.
Generating a URL for a comment related to a post:
post_comment = Post.find(1).comments.first
polymorphic_url(comment)Â # => "/posts/1/comments/1"Generating a URL for a comment related to an article:
article_comment = Article.find(1).comments.last
polymorphic_url(article_comment)Â # => "/articles/1/comments/2"You can also add an action or a format:
edit_polymorphic_path(@post) Â Â Â Â Â # => "/posts/1/edit"
polymorphic_path(@post, format: :pdf) # => "/posts/1.pdf"â¨ActionDispatch::Routing::PolymorphicRoutes
On the Web đ¸ď¸
𫡠So long Twitter
The long descent of Twitter (nope, we will not call it X) into hell never ceases to amaze. Wired published a fascinating interview of Del Harvey who was in charge of the moderation on the platform for 13 years. She delves into Twitterâs history, from Justin Bieberâs Brazilian fans to the Capitol attack.
â¨Twitterâs Former Head of Trust and Safety Finally Breaks Her Silence - Lauren Goode
đ§ Testing means Doubting
Letâs face it: sometimes, we just wanna skip the tests. In her blog article, Louise Gibbs looks at different ways to limit coverage and to get by with less tests (spoiler: communication is key).
â¨Reducing Scope (Letâs Test Less!!!) - Louise Gibbs
đ Return to sender
Itâs Monday, youâre in a good mood to start your week, when suddenly Kevin from accounting decides to ruin your day with a vicious little email. Before you jump on the keyboard to answer, take some time to read this article from Elizabeth Danziger.
â¨How to Respond to an Upsetting Email - Elizabeth Danziger
Some Code đť
đ§ââď¸ Houston, we have a Copilot
Rizèl Scarlett wrote a 9-part guide on how GitHubâs AI Copilot can help with our dev flows. In the part weâve shared below, we discover how Copilot explains the code it generates and translates it into another programming language. In other parts, we use it to convert JavaScript code to TypeScript, to get useful engineering tips⌠and other tips to tickle our testing fancy!Â
â¨Use Copilot to Write and Translate a Binary Search Algorithm - Rizèl Scarlett
âťď¸ No losers, no winners, only game changers
Let 2024 be the year when we stop the eternal monolith vs microservices battle! Why not choose whatâs most suited to the product? In this video dating back to 2017 Aimee Lucido relates what happened to the Uber Android app - a good showcase for the value of adapting to a companyâs needs.Â
⨠Uber Technology Day: Monorepo to Multirepo and Back Again - Aimee Lucido
đ Sherlock Holmes in therapy
Tracking and solving bugs should be a pretty straightforward affair: we hear of an error (either reported by a user or by our monitoring alerts), we look for the source of the error, find it, solve it, add a little regression test and weâre good to go. Right?Â
Right. In theory.Â
⌠or we hear of an error thatâs got absolutely nothing to do with the bug weâre working on, or all hell broke loose and we canât see what broke in the first place. Read on to find out how Problem Detection can either foster or hinder Problem Resolution.Â
â¨Whatâs Difficult About Problem Detection: Three Key Takeaways -Emily Arnott
Fun đ
đ Peach and love
Every year Pantone chooses a Color of the Year. For 2024, the title goes to Peach Fuzz which âcaptures our desire to nurture ourselves and others. Itâs a velvety gentle peach tone whose all-embracing spirit enriches mind, body, soul.â Time to be GENTLE, yâall!Â
â¨Envelop Yourself in PANTONE 13-1023 Peach Fuzz - Laurie Pressman
Events đĄ
â¨No more events as the year is coming to a close, here are some replays instead! â¨
đ Womxn in APIs, Paris - December 6-8Â
This event offers a series of talks about APIs. It promotes diversity with about fifty womxn speaking (a mere 16% of the lineup, but still) and a space dedicated to workshops on team diversity and career advice.Â
You can catch up on the videos on API Daysâ YouTube channel.
⨠API Days - Paris
đŞ Breaking Barriers: tech made by women
Aside from brutally firing women who raise concerns about the biases of their AI algorithms, Google has created a network called WomenTechmakers where you can become an ambassadress and attend regular events. Itâs a space to talk about career opportunities and leadership with brilliant women in the field. Here are interviews that the network has run with women in tech around the world.
â Buy us a coffee to support the newsletter đ°
⨠Join us: meet-up | twitter | website
Editors: Aurelie, Camille, Lucille and Juliette
English version: Marine and Jade
Italian version: Paola
Spanish version: Kattya



