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.

MustBe: Selective type-safety for Ruby

We all love ruby for its free-flowing non-static-typedness, but sometimes it’s healthy to do little sanity check. To make sure your duck is a duck. must_be is a powerful library for runtime assertions, allowing you to build assumptions into your code. A great way to find bugs before they find you!

Always check in schema.rb

Some argue that schema.rb should be ignored in your version control. Long story short, I argue that it should not.

Link is broken, it should be http://www.saturnflyer.com/blog/jim/2010/09/14/alw…

to_php: block translator

I just launched to_php a php block translator with gems php and sourcify. More on my blog

mwhahahahahahahahaha.
I am embarrassed for you that you even considered let alone wrote this. I am n…

Common interface for Ruby HTTP libraries

HTTPI provides a common interface for using different HTTP libraries. I need this for another project and unfortunately couldn’t find anything like it. Please let me know if something similar already exists. If it doesn’t, I’d appreciate your support!

I developed a similar HTTP abstraction layer for riak-client - I might be able …
sean: i’d really love to get people involved. just fork or get in touch :) …
This pretty sweet. The only things that seem familiar are faraday and rack-clie…
faraday looks nice, but it seems to target frameworks. httpi is supposed to wor…

Malt: A multi-template rendering engine

Today’s fun is Malt (though maybe not as fun as the liquor). Malt is multi-template rendering engine. What’s that? Yes, yes, like Tilt. But, you see, I had some problems with Tilt’s consistency across different formats, and though I tried to contribute back to Tilt, it was happen’en. You know how it goes. So, I wrote a whole new, much more “OO”, library. It’s an early version yet, v0.1.0, but her test batches all run green (at least on 1.8.7). She ought to go down pretty good. Go ahead, enjoy a cold one on me.

rescue_me

A colleague of mine recently wrote rescue_me, a small wrapper for exception-generating code that retries with exponential backoff. We had to connect to a sporadically flaky webservice, and this bit of code made our stuff a lot more robust with minimal effort.

Loading older posts