#639 — February 2, 2023 |
|
Ruby Weekly |
Generating a Rust Based Gem Skeleton with Bundler — Bundler 2.4 (more on that below) can now generate a Rust-oriented skeleton for developing gems by way of a new Josef Šimánek |
Bundler 2.4 Released — The new PubGrub resolver algorithm is more than a fantastic name, it’s smarter, faster, and has better error messages. A big release for such a fundamental part of the Ruby experience. David Rodríguez et al. |
🧈 Retire your Legacy CMS with ButterCMS — ButterCMS is your new content backend. We’re SaaS so we host, maintain, and scale the CMS. Enable your marketing team to update website + app content without needing you. Try the #1 rated SaaS Headless CMS for your Ruby app today. Free for 30 days. 🧈 ButterCMS sponsor |
Super Standard: How to Add Gem Extensions and Custom Rules to 'Standard Ruby' — Standard aims to be the “one bike shed to rule them all” for Rubocop configuration and, before this release, that shed only came in one size. However, now you can add other tools to the shed, which is nice. Justin Searls (Test Double) |
Ronin 2.0.0: Ruby's Security Research Toolkit — An ecosystem of projects covering areas as diverse as crafting SQL injections, running exploits, mutating data, making HTTP requests, and performing other vulnerability testing tasks. It has a great FAQ that fleshes out the story more. Hal Brodigan et al. |
QUICK BITS
|
📕 Tutorials and Articles |
Basic Business Intelligence on Rails with Blazer — BI tools are expensive, but Blazer is free and has a lot of nice features, like smart columns, caching, forecasting, and tons of chart types. If you’re just getting started with BI, start here or check out Blazer's live demo. Ana Nunes da Silva (Honeybadger) |
On Nested Modules — Ruby provides two different ways to define nested modules. This post explains the difference between them and how to decide which one to use. It also explains the Akshay Khot |
Is Your Ruby App Slow? Time for a Tune Up FastRuby.io | Ruby and Rails Upgrade Services sponsor |
How to Bundle Assets in a Rails Engine — The author of Avo Admin shares what they’ve learned about including assets cleanly. Adrian Marin |
▶ Accessing Named Capturing Groups Outside of a Regex — Quick tip in a 100 second video. RubyCademy |
Spin Up Your Hanami Apps Easily with Hanamismith — There are a bunch of offerings around templated, preconfigured Rails apps and now there is one for Hanami too. (Hanami 2.0.3 has just dropped, BTW.) Seb Wilgosz (Hanami Mastery) |
How to Set Up Rails, Redis, and Postgres with Docker Compose in 2023
|
Fantastic Global Methods in Ruby and Where to Find Them
|
🛠 Code & Tools |
Single Cov 1.8: Actionable Code Coverage — Catch coverage issues on every test run. Michael Grosser |
⭐️ This Gem is Mentionable — Mentionable is a gem that provides support for inbound Webmentions and microformats in Rails apps, and it’s neat to see a gem author explain their intentions so transparently as in this post. Caleb Hearth |
Will Your Users Be in the Dark the Next Time Your App Is Down? 🤨 — Our status pages let you report incidents in real time and schedule alerts for planned maintenance. Check it out. Honeybadger sponsor |
pgslice: Postgres Partitioning 'As Easy As Pie' — A tool that can either generate or generate and execute the required SQL statements to partition either new or existing tables with nothing to install server-side. Andrew Kane |
Groupdate 6.2: A Simple Way to Group Temporal Data — For example, to group data by day, week, hour, etc. Andrew Kane |
|
Don’t Let Your Issue Tracker Be a Four-Letter Word. Use Shortcut Shortcut (formerly Clubhouse.io) sponsor |
|
|
🕰 ICYMI (Some older stuff that may catch your eye...)
|