#557 — June 17, 2021 |
Ruby Weekly |
"GitHub Processes 2.8 Billion API Requests Per Day".. with Ruby — It’s only a quick tweet, but when GitHub’s CEO says the company is handling 2.8 billion API requests per day (55k rps at peak) and a GitHub engineer notes that it’s on Rails.. that’s a nice data point for us Rubyists, I reckon :-) Nat Friedman (GitHub) |
ActiveAnalytics: First-Party, Privacy-Focused Traffic Analytics for Rails Apps — Analytics is good, privacy is good. Have all the good things with this gem that’ll tell you referrers, page views, and the next/previous page paths. Base Secrète |
The Ultimate Button Component — Learn how we developed The Ultimate Button to use in our internal tools. It's a ViewComponent button you can use anywhere in your app. It uses StimulusJS & is highly configurable. 4-week free trial + $100 free credits with the code: Cloud 66 sponsor |
A Rubyist's Walk Along the C-Side: Primitive Data Types — The latest part in a (fantastic) series on Ruby’s C API. Peter hones in on a few of the primitives, namely String, Array, Fixnum, Hash, Symbol, and some other constants. Peter Zhu |
▶ Discussing Speedy Performance with Nate Berkopec — Nate Berkopec is the author of the Complete Guide to Rails Performance, the maintainer of Puma, and one of a small group of people you could consider Ruby performance experts. On this show, he mostly talks about how he got to that position and his opinions on things like profiling and server-side rendering. The Bike Shed Podcast podcast |
|
|
📕 Tutorials |
▶ How to Create Custom Elements with Web Components — Web Components provide a way to encapsulate JavaScript logic around an element in your HTML. This 15 minute screencast looks at their use as well as how Hotwire uses them for Turbo Stream actions. GoRails |
Adding TypeScript to Your Existing Rails App — The thought of porting all the existing JavaScript you have might seem a little intimidating, but it’s possible to introduce TypeScript more gradually.. Ayooluwa Isaiah |
How to Build Scalable Ruby Apps with CockroachDB & Ruby PG Driver — If you follow this seven step tutorial you’ll end up building a scalable, resilient Ruby Application - For Free. Cockroach Labs sponsor |
Building Large Features: A Process for Branches, Requests and Reviews — One developer’s refinement of a process for managing the implementation of large features on git-based projects. Rémi Mercier |
Building Your Own Rails Form Builders — Rails form builders are great…until they’re not. That’s why gems like Simple Form exist, but what if that isn’t right for your use case? Well, making your own form builder is easier than you probably think. Brand New Box |
Moving ActionCable Over to Webpacker
|
Getting Started with Automated Testing Workflow and CI on Ruby
|
🎧 Podcasts |
▶ Decoding Ruby's Magical Syntax with Justin Gordon — Justin and Jason discuss Ruby syntax, reducing the need for testing with Rescript or Rust, the benefits of time tracking, and the skills needed for running a successful agency. Rails with Jason |
▶ Dave Thomas on Testing Past, Present, and Future — As with most things involving Dave, the takeaways are great. A sample: Treat testing as a tool, not a religion. CS undergrads need more real-world experience. Semaphore |
🛠 Code and Tools |
Countries 4.0: Useful Info about Countries Packaged into a Gem — Need country info in an easily used form from Ruby? This gem contains info for each country covering standards ISO3166-1 (countries), ISO3166-2 (states/subdivisions), ISO4217 (currency) and E.164 (phone numbers). hexorx |
⚽️ Seven Days of Football/Soccer Related Ruby Gems — An unusual topic, you might think, but timely too as UEFA EURO 2020 (a poorly named European soccer tournament) has just kicked off. Gerald Bauer |
Uptime Monitoring Is Now Available in AppSignal AppSignal sponsor |
Committee 4.4: Rack Middleware to Build Services with JSON Schema — For when you want to build services based upon JSON Schema, OpenAPI 2, or OpenAPI 3. interagent |
Shrine 3.4: The File Attachment Toolkit for Ruby Webapps — The latest update to a powerful plugin-driven file attachment system. Validations, background jobs, cloud storage integrations, and more await. GitHub repo. Shrine |
Textbringer 1.1: An Emacs-Like Text Editor Written in Ruby — Projects like this often fizzle out, but we first linked this 4 years ago in issue 344 and it’s great to see it go from strength to strength. Shugo Maeda |
|