- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #94
Short Ruby News - Edition #94
The one about book discounts, RubyConf CFP open, YJIT performance benchmarks, and many code samples.
You can jump directly to a section:
π Launches and discounts & π Events
π All about Code and Ruby: π» Code, πCode Design,π‘Around, β€οΈ Why Choose Ruby
π§° Gems, Libraries, and Updates: π New, π§° Updates and π Keep an eye on
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters)
π’ RailsCamp 30% discount for Short Ruby Newsletter readers
π !Get a 30% discount with code SHORTNEWSRUBY! Visit west.railscamp.us/2024Rails Camp USA is an outdoorsy un-conference series focused on connecting developers worldwide at summer camps in different locations across the US. We engage in outdoor activities, collaborate on side projects, network, practice conference talks, and have fun with kayaking, board games, hammock lounging, and karaoke.
π Launches and discounts
π David Heinemeier Hansson shared the launch of OMAKUB. Omakub turns a fresh Ubuntu installation into a fully configured web development system. You can see the release video on the main website homepage.
If you are interested in contributing to Omakub:
π Vincent Ritter announced the launch of a new product: An introduction to Sublime Feed // Vincent Ritter
If you are interested in this feed, Vincent is inviting you to write to him at [email protected] to get a registration link.
πΈ Sandi Metz shared 99 Bottles β Sandi Metz will be 40% off till 13th June
πΈ Pragmatic Programmers shared PragProg Spring Sale Final Week is underway
πΈ Leanpub shared The Rails 7 Way discount
π Events
π Ruby Conf announced RubyConf 2024: CFP is open, looking for talks in the following areas: Performance and Scale, Ruby on the Web, Ruby in AI, Data Science and Machine Learning, Weird Ruby, Your Great Idea!
π Euruko released two new types of tickets for EuRuKo2024
π Ryan Bigg shared Ruby Retreat 2024
π African Ruby Community shared Matz will be the Keynote Speaker at RubyConf Africa
π Nony Dutton shared benchmarks from enabling YJIT at Zendesk in production:
π» Code Samples
π Mika Henriksson shared about considering apply_to_nil before using a before_validation to normalize a column
π Jorge Manrubia shared a refactoring example extracting functionality from a concern to an object that is then references from the concern:
π Kasper Timm Hansen shared a code sample showing how to write concerns without extend/include/class_methods:
π Stephen Margheim shared how a series of code samples about building UI components:
Stephen shared a series of code samples about building UI components:
π Nate Hopkins shared how he used Rails encrypted variables while allowing ENV variable overrides (see it used in a repo here):
π Lucian Ghinda shared a gem called rbs-inline thatβs playing with putting RBS inline in the source code
π Chris Oliver shared how we can use else clauses in blocks:
π Mezbah Alam was curious if ActiveRecord is moving towards a connection per query model instead of query per request:
Samuel Williams added that ActiveRecord is now moving towards that model.
Janko MarohniΔ ππ added that this is how connection pooling is done in Sequel
π Chris Oliver shared how he approaches building API clients
π In this weekβs letβs learn with Collin, he shared how a terminal tip might come in handy
π Yaroslav Shmarov flagged what to keep in mind when installing ViewComponent
π John Mc Dowall shared a Ruby pattern that leverages Rubyβs new pattern-matching abilities
Lucian added:
π Ruby Cademy shared how handy Date#readable_inspect is
π Joel Moss shared how two similar-looking statements result in two wildly different results. The replies elaborate on why thatβs the case.
π Ruby On Rails shared about the addition of exclude? in ActionController::Parameters:
π Ruby Cademy shared how easy it is to setup Content Security Policy HTTP Headers in Rails
π Prabin Poudel shared a way to get Days of the week without adding them as constants
π JoΓ«l Quenneville shared how Enumerators are sprinkled all over Ruby
π Moses Gathuku shared a way to stub current_user any controller helper not available in ActionView
π Andrew Atkinson shared a tip about how to revise local migrations after running them:
π Nate Berkopec shared a code sample about working with cache in Rails controllers:
Xavier Noria added:
π Lucian Ghinda shared a thread about using the endless method:
π Ruby Cademy shared a tip about using the future? predicate in Rails:
π Greg Navis shared a code sample playing with defining abstract syntax in Ruby:
π Daveyon Mayne shared a code sample about a job to check when trial ends:
π Ufuk Kayserilioglu shared how they went about implementing Ruby LSP
π Irina Nazarova shared a thread on why and how Rails teams should consider React/Vue/Svelte should the need arise:
π Joel Drapper shared a thread on why owing your authentication end to end is the herculean task as it seems. He also goes on elaborate on how he builds his auth and why
π Vladimir Dementyev shared they migrated to SolidQueue:
Rosa answered in reply a question about dynamic cron-style jobs:
π‘ Andrew Atkinson shared that their repo about using Rails and PostgreSQL has now 100 stars. Visit the repo at andyatkinson/rideshare: Rails app for book π "High Performance PostgreSQL for Rails"
β€οΈ Why Choose Ruby
β€οΈ Andy Croll shared how he enjoys Rubyβs ability to be expressive
β€οΈ Enrique Benitez shared why he finds Ruby a joy to work with.
β€οΈ Andrei Maxim shared how we got started with Ruby
β€οΈ Igor Alexandrov shared how he continues to use Ruby and how we felt when he felt when used it for the first time.
β€οΈ BjΓΆrn Rochel shared what Rails excels at and why he switched over.
β€οΈ Andrei Bondarev shared a thread on the most impactful non-web app projects built in Ruby
β€οΈ Josh Pigford shared why he switched back to Rails
β€οΈ Paul Earnden shared about their experience with building with Rails:
π New Gems and Repos
π Julian Rubisch announced a new gem called Sitepress Pagefind Integration
You can also find a gist with the code he used to integrate Pagefind.
π Marc KΓΆhlbrugge announced a new version of marckohlbrugge/stripe-cancellation-reasons
π§° Updates
π§° Avo announced a new version of Rails 8 support by peterberkenbosch Β· Pull Request #2789 Β· avo-hq/avo
π§° Andrea Fomera announced a new version of Welcome to RicherText.js
π§° Donal McBreen announced Release v1.6.0 Β· basecamp/kamal
π§° Samuel Williams shared about the performance improvements in IO::Event
π§° Kevin Newton announced a new version of Release v0.30.0 Β· ruby/prism
π§° Soutaro Matsumoto announced a new version of ruby/rbs - Read the release notes or the changelog
π§° Andy Maleh announced the v1.0.0 of puts_debugger
π§° Kasper Timm Hansen announced a new version of Release v0.2.0 Β· kaspth/action_controller-stashed_redirects
π Keep an eye on
π Maxime Chevalier-Boisvert merged a PR to Ruby master about YJIT: implement cache for recently encoded/decoded contexts
π Kevin Newton submitted a new feature request to Ruby about Switch default parser to Prism
π€ Nate Berkopec shared a fabulous thread on what differentiates Engineering from the Software βcraftβ
π€ Stefan Judis shared a code sample about using The CSS attribute selector has a case-insensitive mode
π€ Peter Solnica shared about digesting criticism without getting defensive:
π€ Scott Watermasysk shared
π€ Matt Turck shared about SaaS and AI:
π€ Jason Fried shared a video doing a live review of Workbook (or Writebook):
More content: π π π§ π₯ βπΎ
π Newsletters
π Wojtek published a new edition of This Week in Rails about Global strict loading mode setting, route draw deferring and more
π Hotwire Weekly published a new edition about Week 23 - New Hotwire Browser Extension, Concurrent Updates with Stimulus, and more!
π Ruby Weekly published a new edition about Ruby Weekly Issue 706: June 6, 2024
π Any Cable published a new edition about Any Cables Monthly #20
π Ruby LibHunt published a new edition of Awesome Ruby Newsletter
π§ Podcasts
π§ Jason Swett published a new podcast about 222 - Into the Software Industry Straight out of High School with Verda Korzeniewski - The Code with Jason Podcast
π§ Code And The Coding Coders Who Code It published a new podcast about Josh Wood
π§ Ruby For All published a new podcast about RailsConf 2024 Crossover β Ruby Podcasters Live in Detroit | Ruby for All | Episode 68
π§Joshua Wood published a new episode about Scaling Judoscale with Adam McCrea
π§ RemoteRuby published a new podcast about Railsconf and Tech Debt
π§ Ruby Rogues published a new podcast about Ruby Reactivity: Navigating Front-end Solutions and Innovations - RUBY 638 - Ruby Rogues - Top End Devs
π½οΈ π₯ Videos
Screencasts
π₯ Balkan Ruby shared videos of Balkan Ruby 2024 are LIVE
π₯ Drifting Ruby published a new video about Episode 459 - Hotwire Combobox | Drifting Ruby
π₯ Yaroslav Shmarov published a new video about Tailwind on Rails #170 Maintainable Buttons CSS
π₯ Avdi Grimm published a new video about Hash#fetch as an Assertion in Ruby
π₯ Dean De Hart published a new video about Telegram Open AI Bot in Ruby on Rails 7
π₯ Jason Swett published a new video about Figuring Out What to Build - Mentorship Session with Jono Stiansen
βπΎ Articles
Whatβs new π
βοΈ Ruby Central announced the CFP for RubyConf 2024 is open Performance, AI, Weird Ruby and Matz: The RubyConf 2024 CFP is Open
βοΈ Cj Avilla published a new article about A Year of Lessons: Key Principles and Takeaways for a Rails Apps in 2024
βοΈ JoΓ«l Quenneville published a new article about 3 Mental Models For Ruby Enumerators
βοΈ Cody Norman published a new article about The Road To Rails Conf 2024
βοΈ Jake Zimmerman published a new article about Old vs new case statement in Ruby and about A trick for invariant generics in Sorbet
βοΈAnes Hodza published an article about Ruby function design and other stuff I like ranting about
βοΈ Afaq Shahid Khan published a new article about Supercharging Background Processing with Active Job in Rails
βοΈ Lucian Ghinda published a new article about Endless method - a quick intro
π΅οΈ Deep-Dive
π΅οΈ JP Camara shared Your Ruby programs are always multi-threaded: Part 1
π΅οΈ Matheus Richard published a new article about Async Ruby on Rails
How-TOs π
π Jeffery Morhous published a new article about How to build a Rails API with rate limiting
π Anna Gavrilova published a new article about Ruby on Rails DaisyUI Setup. The Most Elegant Way. Bonus: icons
π Thomas Riboulet published a new article about Creating Forms in Ruby on Rails with Simple Form and about How to Use Tailwind CSS for Your Ruby On Rails Project
π Igor Alexandrov published a new article about Validate belongs_to association in Rails
π RailsDesigner published a new article about Update a Progress Bar using Turbo Streams (using Custom Actions)
π Andy Croll published a new article about Compress Your Images
Related
Garrett Dimon published an article about Fine-tuning Text Inputs
Kirill Platonov published a new article about Incremental development
Andrei Maxim published a new article about Learn the Web Fundamentals
Radoslav Stankov published a new article about Tips for Using Less JavaScript
Reply