#505 — June 11, 2020 |
📢 We've got a bit of bonus content this week in the form of an interview with Richard Schneeman at the footer of the issue :-) |
Ruby Weekly |
An Interview with Rails' Creator David Heinemeier Hansson — Evrone are a development company who did a pretty neat interview with Matz recently and now we have DHH too, our favorite race car driver, Basecamper, and framework creator. Evrone |
Why and How 'mkdev' Switched to Fullstaq Ruby — Fullstaq Ruby is a “server-oriented configuration of Ruby” provided via maintained packages for RHEL/CentOS/Ubuntu, etc. It also touts reduced memory and easy updates. The ‘mkdev’ consultancy put it through its paces and shared some results here. Kirill Shirinkin |
How To Set Up A CI Pipeline For A Rails Dual Boot — Learn from Kayla Reopelle from the team over at Planet Argon how they dual boot Rails for a better upgrading experience using CircleCI. CircleCI sponsor |
The RuboCop Name Drama Redux — Last week, someone suggested renaming RuboCop, the popular Ruby static code analyzer, due to negative sentiments over the term 'cop' in regards to the police. The issue got a little heated, and here the author of Rubocop gives his perspective and explains how he wants to move forward. Whatever 'side' you're on, if any, it's clearly a tricky situation to navigate even with the best of intentions. Bozhidar Batsov |
RubyFlow: A Ruby Community Link Blog — RubyFlow is a community blog we run (all you need is a GitHub account to post) and has become one of our main sources of links, so if you have a library, tutorial, or something else Ruby related, post about it there. RubyFlow |
ParallelTests 3.0: More Cores Equals Faster Tests — Speed up Test::Unit, RSpec, Cucumber, or Spinach by running in parallel across multiple CPU cores. Michael Grosser |
⚡️ Quick bits:
|
💻 Jobs |
Find A Job Through Vettery — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started. Vettery |
ℹ️ Interested in running a job listing in Ruby Weekly? There's more info here.
📘 Articles & Tutorials |
▶ Realtime Browser Updates with CableReady — A 12 minute screencast showing how to use CableReady to perform realtime browser updates using actions generated in Rails controllers, models, and background jobs. Cable Ready is the magic behind StimulusReflex. Go Rails |
▶ Rethinking the View Layer with Components with Joel Hawksley — A chat with the creator of ViewComponent about why you might want to use view components in a Rails app. Ruby Rogues Podcast podcast |
Exploring Metaprogramming in Ruby — A few metaprogramming concepts tackled at a basic, introductory level, including monkey-patching, class macros, and DSLs. Ivan Oštrić |
Best Practices For Getting A Performance Boost On Your Postgres DB pganalyze sponsor |
Linkers and Ruby C Extensions — Did you know that you can dynamically load C libraries at runtime? Did you know linkers aren’t that intimidating? Some under the hood digging. Jake Zimmerman |
Ruby Refinements — This guide is a good reference to keep around if you start seeing odd behavior using refinements. Brooke Kuhlmann |
Ruby vs Crystal Performance — The comparison uses our favorite sequence (Fibonacci) and shows some things that are a bit different for Crystal. Oh, and Crystal is much faster, but you probably expected that. Pavel Timofeev |
I Created The Same App with Rails and 'No' JavaScript — Speaking of CableReady, here’s an example of building a no custom JavaScript ‘To Do’ app with it. Mario Alberto Chávez |
🛠 Code and Tools |
TestBench: A 'Principled' Test Framework — Principled in this case refers to encouraging clean tests with no superfluous syntax. Nathan Ladd |
ansible-rails: An Ansible Playbook for Rails App Deployment — Includes Lets Encrypt, Sidekiq, PostgreSQL, nginx, and Puma. Oh, and no containers in sight :-) EmailThis |
Get Up To $20,000 Free APM Usage Credits* — Switch your application monitoring to Raygun and receive up to $20,000 in usage credits*. Find out more—apply today. Raygun sponsor |
redis-rb 4.2: The Ruby Client Library for Redis — The official Ruby client for the Redis data structure server. If you’re using Redis 6’s new TLS support, you’ll want to get this. Keyword argument support for commands is now baked in too. Redis |
Regexp::Parser: A Regular Expression Parser Library — For actual tokenizing, parsing and transforming regexes themselves. Ammar Ali |
Active Record SQL Server Adapter 6.0: The SQL Server Adapter for Rails — If you’re using SQL Server 2012 or higher, this will get you up and running with Rails and Active Record. Rails SQL Server |
ROXML 4.1: Ruby Object to XML Mapping Library — A very old library that’s just got Ruby 2.7 support. Map Ruby classes to XML for bidirectional marshalling between Ruby and XML using annotation-style class methods. Ben Woosley |
Amazing Print 1.2: Pretty Print Your Ruby Objects with Style — It’s neat to see that this fork of the long standing AwesomePrint is continuing to get the updates promised. AmazingPrint |
Pallets: A Simple Workflow Engine — It claims to not be production-ready but has a nice set of features nonetheless and leans upon Redis. Andrei Horak |
|