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.

Using Sprockets to Precompile Assets in a Rails Engine

Recently, I needed to write tests for a rails engine that included a Backbone.js application written in Coffeescript and the dummy app didn’t serve my purposes. Here’s how I precompiled my assets using Sprockets so I could write and run javascript specs using Jasmine’s standalone spec runner. [more inside]

Weak Dependencies

In the past few months, I have experimented with some Pomodoro applications on my mobile phone. These were great, but I don’t actually spend my days staring at my mobile phone. Something was itching me: if the whole point of the technique is to stay focused by avoiding useless context switches, then why should an external device keep stealing my attention just to be more productive? So where do I spend most of my time? In the Unix shell, interacting with the command-line! So I looked for Pomodoro tools that suit my lifestyle and this is how I discovered pomo, a Ruby Pomodoro application for the command-line. Let’s check it out!

Confed Brazil 2013 - From Plain Text Fixtures to Structured Data and HTTP JSON APIs in Minutes

I’ve updated the plain text fixtures for the Confederations Cup 2013 in Brazil. The sportdb gem lets you load the plain text fixtures into your database and lets you use the sportdb models such as Event, Team, Round, Group, Game, and others for web pages (e.g. Confederations Cup 2013 Schedule) or HTTP JSON APIs (e.g. all teams, all rounds, semi final matches e.g. Brazil-Uruguay; Spain-Italy etc.). All data, code and samples public domain. Enjoy. Cheers.

Async Processing in Ruby with beanstalkd: Updates to Beaneater and Backburner

We just released Beaneater 0.3.1 (the official beanstalkd client for ruby) and Backburner 0.4.1 (battle-tested background jobs with beanstalkd) with plenty of bug fixes and features for both. If you are interested in understanding more about why you would use beanstalkd or backburner, you can read more about that at Why Backburner? and Why Beanstalkd?. We put these together because we’d love to see beanstalkd more heavily used in the ruby community.

Loading older posts