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.

Dead simple daemon lib in ~ 100 loc

If you feel like most of the ruby daemon libs out there are overly complex or unstable, try forker. My goal was to write the simplest code possible to daemonize code, redirect output and manage the pidfile. Been using it in production to run resque workers on ubuntu and it has been rock solid for me.

No tests? No thank-you.
Looks good, nice and thin. Looked good before spec directory showed up too. :…
I mean, yay for tests but I put it my watch list before it had tests. :) …

Agery 1.0 for Generating Arrays of Ages

Agery is a set of extensions to Ruby’s Integer class to assist developers in generating arrays of ages. It’s designed to help generate data used when pricing is dependent upon age. Supports neat tricks like: 2.seniors + 1.teenager #=> [65, 65, 13], 1.over_21 #=> [21], and 2.under_18 #=> [17, 17]. See the README for more examples and further introduction.

Local gem documentation that doesn't need a server

I just updated Bdoc: a server-less local gem documentation browser that generates a single HTML file allowing you to easily browse and filter through the gem docs on your local machine. Bdoc isn’t new… but it’s been in desperate need of an update for a while… now it’s up-to-date. “gem install bdoc” now! Here’s what it looks like:

That’s so cool, deserves to be part of rubygems installation. Thanks for your e…
Loading older posts