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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
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.
We all use Puma, Unicorn, or a similiar application server for our web applications. But do you understand WHY we use them? Why doesn’t Rails just do everything? Why can’t we use Nginx or Apache? Everything explained in this new article: https://www.rubyguides.com/2019/08/puma-app-server/
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]
Ever needed to diff a big object tree or compare an attribute from a deleted association? How about feeling like you’ve outgrown ActiveModel::Dirty? Maybe my gem could help you. [more inside]
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?
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]