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.


Ruby Sinatra on AWS Lambda

AWS Lambda now Supports Ruby natively. That means we can build serverless applications with the language we all love. Not only that doh. You can run small Sinatra microservices with AWS serverless approach and in this article we will have a look how/why. [more inside]

Mastering data structures in Ruby — Persistent lists

This post is the closing post of a series on mastering data structures in Ruby where I introduce the concept of persistent data structures, a term coined by Driscoll in an article from 1986 that these days it’s at the core of most purely functional data structures. On this article, I’ll review the core aspects of persistent data structures and show you how to implement persistent, immutable linked lists using the Ruby programming language. I hope you like it! Mastering data structures in Ruby — Persistent lists

MiniI18n - New release with custom plurals rules

I just released a new version (v0.8.0) of MiniI18n gem with custom pluralization rules support. Languages vary in how they handle plurals, now you can reflect these variations by adding custom rules per locale. [more inside]

Upgrading Ruby on Rails Insights and Strategies For the past few months at Kiprosh, we’ve done versions upgrade of multiple mid to large scale Ruby on Rails applications. One of them was running Rails version 3.2.22. That’s where we found out that, we need to make a lot of changes in our codebase to run our application on version 4.0. Hence, we thought to write this blog post to share our insights and recommended strategies for upgrading such mid to large Rails applications.

Iterating over large tables in MySQL using ActiveRecord . In a high volume analytics system, tables with millions of records are quite common and iterating over the full table or a subset of these tables becomes often necessary  — whether it’s to perform computations, run a migration, or create parallelized background jobs on the records. It becomes important to write efficient code for iterations because there is often an order of magnitude difference between a good and not-so-good approac

Ruby Quiz - Challenge #8 - Decipher Super "Sekretoooo" 240-Bit CryptoKitties Genome

Ruby Quiz - Challenge #8 - Base32 Alphabet - Convert the Super “Sekretoooo” 240-Bit CryptoKitties Genome to Kai Notation. Annipurrsary! Let’s celebrate one year of CryptoKitties - yes, more than one million cute little cartoon cats on the blockchain. Let’s convert the super “sekretoooo” kitty genome - that is, a 240-bit integer number where every 5-bit block is a gene - into the base32 (2^5=32) kai notation. Happy genome genetics slicing with ruby.

Modules in Ruby Part II

In this article, we’re going to explore the following topics:

Loading older posts