đșđŠ #â605 â May 26, 2022 |
Ruby Weekly |
2022 Ruby on Rails Community Survey Results â Over the past 13 years, Planet Argon has run several surveys like this. We encouraged you to take part, as usual, and the answers from 2660 folks (skewing heavily to long-time Rails developers) are now boiled down into the results:
Planet Argon |
Webinar: How to Create the Right Indexes for Your Rails Apps â We provide a deep dive into how Postgres deterministically chooses which index to use for a specific query and walk through a methodology for analyzing queries & creating and optimizing indexes. Register now and join our webinar on June 16th, 9:30am PDT. pganalyze sponsor |
Mocktail: A Test Double Library with a Terse API for Creating Mocks â Mocktail has a simple API and offers detailed errors, argument matchers, and thread safety and Justin Searls did a five-minute lightning talk at RailsConf 2022 showing it off. The README is particularly thorough. Test Double |
Quick Bits:
|
|
đ Articles & Tutorials |
â¶Â  How to Add a Command Palette to a Rails App â Have you ever pressed Cmd+K (or Ctrl+K) on GitHub and seen a box pop up that you can type commands into? Itâs an interesting âpower userâ feature and you can add a similar thing to your own apps. Chris uses Ninja Keys here, but kbar is another to consider. Chris Oliver |
An Introduction to Polymorphism â Polymorphism means slightly different things in different areas of computer science, this post quickly digs into what it means in Ruby and where it can help clean up code in a Rails app. Jesse McDermott |
đ  The Practical Effects of the GVL on Scaling in Ruby â This is from 2020 and the Ractors mentioned within are now a Ruby 3 core feature, but this meaty post on concurrency and parallelism came up in conversation recently and I still think itâs useful. Thereâs always a lock, itâs just a matter of where itâs implemented! Nate Berkopec |
Agile Localization Platform: Develop, Translate, Deploy - Reiterate WebTranslateit.com sponsor |
Performance in Context â Benchmarks done in a test (or any non-production) environment may (and likely wonât) match production which could lead you to make the wrong decisions about your code. Jorge Manrubia (Hey) |
â¶Â  On Building Desktop Apps in Ruby â An hour long episode with Andy Maleh, the creator of Glimmer, a Ruby DSL framework for building GUI apps using various GUI frameworks like Tk, GTK and Swing. Ruby Rogues podcast |
Scraping Buy: Scripting for a Purchase â Itâs simple and crude but Ruby is a perfect match for this sort of temporary useful scripting and, well, Kevin managed to get the guitar he wanted. Kevin Murphy |
â¶Â  Rails Hiring is Still Hot
|
đ Â Code & Tools |
Ruby SMTP Mock: Mimic SMTP Server Behaviour for Your Test Environment â This project has quite a theatrical logo! Itâs test framework agnostic and provides a lot of configuration for you to test various aspects of working with an SMTP server including rejection and error states. Vladislav Trotsenko |
IoMonitor: A Way to Detect Potential Memory Bloat â Push this into your Rails app and get more insight into when a lot of I/O (through either Active Record or Net::HTTP for now) is resulting in not a lot of output. Dmitry Tsepelev |
Couchbase Capella DBaaS: Store JSON, Query in Milliseconds â All in one caching, automatic replication and scaling database with SQL. Try it now for free, no credit card required. Couchbase sponsor |
Anyolite: Embedded mruby/Ruby for Crystal â Anyolites allows Ruby to act as a scripting language for Crystal projects. Anyolite |
Steep 1.0: A Static Type Checker for Ruby
|
Combustion: Simple, Elegant Testing for Rails Engines
|