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.

Fix the content-type for file uploads with the rack-fix-content-type gem

We wrote the rack-fix-content-type gem to fix the content type of form uploads (by using the file-utility). A lot of browsers screw up the content type so we don’t trust the given value in the header. We had a couple of different content-types for each type of uploaded file which can create a lot of trouble (for example when using the content-type in mail attachments).

Feature matrix of Ruby HTTP clients

I posted Ruby HTTP clients feature matrix. It covers 17 clients and 48 features. Let me know if you find any mistakes (it must include some!) and my misunderstandings.

Hey, thanks for sharing you crazy work! This is super AWESOME! So, who’s the ch…
Disclaimer: I’m the author of httpclient gem, which is one of a clients in the …

HireFire - The Heroku Worker Manager

Just pushed out a new gem called HireFire (GitHub link)! HireFire automatically “hires” and “fires” (aka “scales”) Delayed Job (and soon Resque!) workers on Heroku. When there are no queued jobs, HireFire will fire (shut down) all workers. If there are queued jobs, then it’ll hire (spin up) workers. The amount of workers that get hired depends on the amount of queued jobs (the ratio can be configured by you). [more inside]

This looks great. I look forward to digging into the code to see if it is suita…
Awesome work!. I just implemented my custom solution for this – in “just” i mea…
@eric Great! Let me know how it goes. If it isn’t suitable, please let me know …
how can i verify if this is actually running on heroku. i’ve checked the logs a…

Simple Console Progress Bar

I was working on a script to sync hundreds of thousands of records between two databases, and wanted a simple way to keep track of progress. I couldn’t find one that was easy to use and did what I wanted, so I wrote my own. Blog Post with Example Source Code on Github

There’s the obtusely named “progressbar” gem, found at http://rubygems.org/gems…
You should also look at http://rubygems.org/gems/each_with_progress. …

Padrino Framework Slides: A Tour of Padrino

Padrino is a full featured webapp framework built on top of Sinatra. Check out these Padrino Slides to get a tour. Please share it with your friends and don’t forget to leave a comment!

link broken! http://www.padrinorb.com/blog/padrino-slides great slides …
Thanks man and sorry!
Very nice. Congrats on building a framework that is becoming one of the best in…

Is It Rubinius? (Which Gems Work on Rubinius?)

I recently launched Is It Rubinius?. 100% written and deployed on Rubinius. If you’ve written a gem, or are considering using Rubinius for your next project, try it out on Rubinius and report your findings on Is It Rubinius.

I implemented literate programming support for Rubinius in the style of Haskell…
Wow, sorry. Posted this on the wrong topic. This was supposed to be in response…
Is there an issue tracker for the web site? I’d like to browse gems by number o…
@agrimm: I’m cleaning up the code to be released, but you can report issues on …

Pow! A Zero-Config Rack Server for OS X

From 37signals comes an interesting new Ruby project: POW!! It’s a “zero-config Rack server for Mac OS X” by Sam Stephenson and it allows you to “knock out Rails & Rack apps like a superhero.” Pretty bodacious stuff and people have been raving about it over Twitter and Hacker News all day.

Pow is very cool, both from the simplicity perspective AND how they went about …
While I like the idea, I’m not sure why node.js is needed for that. How about u…
This is awesome! @Roland I’m not afraid of node.js. The code is is very stra…
A MacBook Air has always been good enough for many programming development even…

How to Use RVM (8 minutes)

We’ve just released the How to Use RVM screencast. RVM stands for Ruby Version Manager which allows you to quickly install and switch between Ruby implementations. It also has a great feature where you can specify which version of Ruby you want for a particular project with isolated gemset. All this is auto-switched when you cd into the project directory. Check it out!

Loading older posts