Ruby 3.4 to get the 'it' factor
source link: https://rubyweekly.com/issues/681
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Ruby Weekly Issue 681
#681 — December 7, 2023 |
|
Ruby Weekly |
Ruby 3.4 Will Have ' Takashi Kokubun |
“Useless Ruby Sugar”: Endless (One-Line) Methods — Victor continues his fantastic series on controversial, newer elements of Ruby syntax with a look at single line method definitions, as supported by Ruby 3.0 and higher, e.g. Victor Shepelev |
💡 Lucian Ghinda shows off a use case for such |
Free eBook: Efficient Search in Rails with Postgres — In this eBook, Leigh Halliday explains how to speed up a search query from seconds to milliseconds — walking through using exact matches, similarity matches with trigrams, partial matches with ILIKE, and natural language matches. pganalyze sponsor |
Ruby Central's Mega November 2023 News Roundup — Did you know Ruby Central has its own newsletter? The non-profit that runs RubyConf, RailsConf, and supports projects like Bundler and RubyGems has had a busy month, but perhaps the biggest news is they’ve hired Samuel Giddins as a Security Engineer in Residence to help work on the security of the RubyGems supply chain. Ruby Central |
|
📕 Articles & Tutorials |
How to Add a Postmodern |
When Static Types Make Your Code Shorter — “I was recently porting some code from Ruby to Crystal and was surprised by something: the Crystal code was shorter because it used static types.” Evan Hahn |
Pressure Kills Cognition — Free up space for deep work. Burst capacity for today's deadlines and strategies to make tomorrow's goals attainable. Test Double sponsor |
Optimizing Performance by Implementing a Dual Database Setup — Adding a replica DB to a Rails app to split up the read/write load.
|
Understanding the Rails Router: Why, What, and How
|
How to Use Shoulda Matchers with RSpec
|
🛠 Code & Tools |
Better Mailer Previews: A Way to Preview ActionMailer Email Templates — A Rails engine that builds on top of native Rails mailer previews with enhancements including seeing live, resizable previews, and the ability to forward previews to an email address. Harrison Broadbent |
rack-mini-profiler 3.3: A Profiler for Rack Apps in Dev or Production — A popular piece of middleware that adds a ‘speed badge’ to pages in your app to show off database, call-stack and memory profiling data. Sam Saffron, Nate Berkopec et al. |
Do You DIY? 🧐 BYO Error Monitoring Stack for Ruby 👷♀️🛠️ — Learn Ruby's built-in errors, how to use log levels and tagging to customize the log output, display errors, and more. Honeybadger sponsor |
acts_as_tenant 1.0: Easy Multi-Tenancy for Rails in a Shared DB Setup — Adds the ability to scope models to a tenant where tenants are represented by a separate tenant model, e.g. Chris Oliver |
re2 2.5: Ruby Bindings to Google's RE2 Regex Library — A safe, thread-friendly alternative to backtracking regular expression engines. We featured this just a month ago but v2.5.0 features improved documentation and introduces new Paul Mucur |
BasedUUID: URL-Friendly, Base32-Encoded UUIDs — The rationale is to have a more manageable, ‘double-clickable’ UUID format – the result is a 26-character, base32-encoded (no Piotr Chmolowski |
Spaced: A Way to Isolate and Namespace Methods in Classes — An interesting idea. Rather than nesting modules or classes, you define methods within a Joel Moss |
ruby-install 0.9.3: Install CRuby, JRuby, TruffleRuby and More — A tool to install arbitrary versions of several Ruby implementations. v0.9.3 includes three significant bug fixes for macOS users. Postmodern |
Dentaku: Math and Logic Formula Parser and Evaluator — Allows run-time binding of values to variables referenced in user supplied formulas. Intended to safely evaluate untrusted expressions. Solomon White |
Pay 7.0: A Payments Engine for Rails Apps — Supports Stripe, Paddle, Braintree, as well as a ‘fake’ processor for trials, freebies, testing, etc. Chris Oliver |
|
|
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK