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.

Reading Ruby - Minitest's Plugin System

We’re going to dive into Minitest’s source and learn how it implements a simple but effective plugin system. If you’re curious about Minitest’s internals, are interested in the learning some more about Ruby less well known features, or are interested in building an extensible command line application, come along. [more inside]

Querying At Warp Drive: Using ActiveRecord Includes

We can make our code work and make our code right, but when it comes to making it fast…well, that’s a whole other story. Learn how to make smart queries at warp speed using a handy ActiveRecord method called includes. This post dives into the computer science theory behind quick querying and explains how this method can make your Rails apps more efficient.

Use Minitest for Your Next Rails Project

I recently switched to Minitest after using RSpec exclusively for many years. Being the less-popular Rails test framework, Minitest documentation and examples can be hard to find. Rails 3 and 4 instructions can contradict each other. And even the basic terminology is confusing: what is the difference between Test::Unit and Minitest? Which does Rails ship with? I answer questions like these and more in my Rails and Minitest setup guide.

Ruby global method cache invalidation impact on a single and multithreaded apps

Do you know what Ruby global method cache is? No? Well you should, because the way it works can have a serious impact on software that you develop. You can check some single and multithreaded benchmarking that I did together with their results here:

Gem of Week #14 - html-proofer gem - auto-proofread you hypertext (HTML) pages

Hello, over at the Planet Ruby the Gem of the Week series continues with #14 - html-proofer - that lets check that all your hypertext (HTML) pages open and close all tags according to the specs, that all internal and external links are working (no 404’s not found errors etc.), that all images include an alternative text attribute and so on. Full article. Cheers.

Auto-Build football.dbs and Football Almanacs (Books) W/ Single Command

Hello, The new openfootball/auto repo lets you (auto-)build football.dbs and Football Almanacs (books) with a single command e.g. $ rake build SETUP=worldcup This will: 1) Download Datasets 2) Build Database 3) Download Book Template Pack 4) Build Book Pages 5) Generate Static Site (Books) Using Jekyll. Ready-to-use setups include: worldcup, worldcup2014, top, top2014-15, cl2014-15, en2014-15, en, de2014-15, de, es2014-15, es, it2014-15, it, fr2014-15, fr, at2014-15, at. Cheers.

Loading older posts