RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

  Today

A simple, efficient worker queue for Ruby & PostgreSQL

queue_classic provides a simple interface to a PostgreSQL-backed message queue. queue_classic specializes in concurrent locking and minimizing database load while providing a simple, intuitive developer experience. queue_classic assumes that you are already using PostgreSQL in your production environment and that adding another dependency (e.g. redis, beanstalkd, 0mq) is undesirable. [more inside]

footballdata gem - download & import 22+ leagues from Joseph Buchdahl's Football Data

Hello, I’ve put together a new sportdb-source-footballdata gem / library that lets you download & import 22+ top football leagues from 25 seasons back to 1993/94 from Joseph Buchdahl’s Football Data website (updated twice a week). Leagues include the English Premier League, the German Bundesliga, the Spanish Primera Division (La Liga), the Brazilian Série A, and many more. Happy data wrangling with ruby. Enjoy the beautiful game. Cheers. Prost.

Debugging ActiveRecord connection pools

A few weeks ago I ran into a Rails bug that caused our database pool setting to be ignored (fixed in Rails 6). In this video I step through the debugging process I used to find the cause.

Multiprocessing in Ruby - a Good Alternative to Threads?

Parallel computing is a cure for performance issues. It allows to do several things at once, which sounds great in the context of background jobs. Inspired by Python’s multiprocessing module I began to think about the parallelism in Ruby. Of course, there are several ways to get closer, but in this post I’ll try to focus on the Process module. [more inside]

footballdb-clubs Gem - Match 1500+ Football Club Names from 100+ Leagues

Hello, I’ve put together the footballdb-clubs gem / library that bundles-up an all-in-one football.db /clubs datafile and lets you match 1500+ football club names from around the world “out-of-the-gem / box “ with zero-configuration. It’s as easy as require 'footballdb/clubs'; Club.match('Bayern'). Enjoy the beautiful game. Cheers. Prost. PS: Trivia Quiz: What club will Club.match( 'AZ' ) match?

Durable Sidekiq Jobs: How to Maximize Reliability of Sidekiq and Redis

Sidekiq is one of the most popular (if not the most popular one) background job framework in Ruby world, which is not a big surprise: it allows to achieve a decent throughput, is stable and well-maintained, has some great features (including also all the gems extending its built-in functionality) and is easy to get started with. It seems like you could simply install Redis, add Sidekiq to your application and you are good to go! [more inside]

Loading older posts