The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
ActiveStorage Resumable
A blog post describing the suffering of a full-stack developer and also preseting ActiveStorage Resumable, an ActiveStorage extension that supports resumable uploads for Google Cloud Storage.
strings-case release v0.1.0
The strings-case gem aims to help you transform any string into most popular cases, be it camelCase, snake_case, kebab-case, Title-case and more. It allows you to preserve acronyms and use a custom separator in case you need to change the default one.
Is it time to replace Rake?
We Ruby developers use Rake and Rakefiles for many of our build, test, and deployment scripts. Yet Rake has always felt a bit clumsy, and that shouldn’t be a surprise. It was actually not designed for most of what we use it for. Would a different tool work better? [more inside]
date-formats library / gem - read / parse dates (and times) from around the world
Hello, I’ve put together a date-formats library / gem that lets you read / parse date (and times) from around the world. Let’s try a French date e.g. DateFormats.parse( 'Lundi 1 Janvier', lang: 'fr') or a Spanish date e.g. DateFormats.parse( '1 Ene', lang: 'es' ) and so on. Happy date wrangling with ruby. Cheers. Prost. PS: Yes, you can add new (and more) formats using regular expressions / text patterns.
ClickHouse Ruby driver
https://github.com/shlima/click_house A modern Ruby database driver for ClickHouse, was inspired by currently unmaintainable alternative but rewritten and well tested. [more inside]
Clerq: requirements management, format, repository, CLI
Most of my work time I work with software requirements, and other items based on requirements, like estimations sheets. I write bulk documents and don’t like the behavior of big word processors (MS Word, LibraWriter, etc.) on bulk documents. I created a gem clerq that provides the ability to write big documents in small separate files using Markdown. More information you can get from README
Invisible Captcha new release: a honeypot protection plugin for Rails
Hello 👋 I just released a new version of Invisible Captcha (v0.13.0), a gem to protect your forms/actions from spam bots and spiders. [more inside]
Introducing Skunk: Combine Code Quality and Coverage to Calculate a Stink Score
Skunk is a Ruby gem that will combine code quality metrics from Reek; Flay; Flog; and SimpleCov to calculate a Stink Score for a file or set of files. [more inside]
[Screencast] Plugging in AnyCable
ActionCable can handle quite a bit of traffic, but it gets to a point where it can become a burden on the server. With AnyCable, we can not only handle more traffic, but it is also lighter on the resources. https://www.driftingruby.com/episodes/plugging-in-anycable
TAP Formatters for RSpec-3
RSpec TAP Formatters provides four different TAP 13 format style with a proper nested display of example groups and includes stats for the total number of passed, failed, and pending tests per example group. The supported formats are:
Saving 3 Weeks Every Year by Speeding up a Test Suite
How I sped up a portion of a Rails test suite from 18 minutes down to 6.5 minutes. The post goes over the process of identifying the bottleneck and the challenges of adopting the solution. The app in question is open source and helps Veterans get their appeals for disability benefits processed faster. [more inside]
validates_by_schema v0.4.0 released
Keep your ActiveRecord validations DRY by inferring them automatically from table column properties: https://github.com/joshwlewis/validates_by_schema
Introducing the pg_partition_manager gem
Making it super simple to manage partitioned tables in PostgreSQL.