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 code sandboxing

I just released Sandboxed, a gem that lets you run unsafe code without the usual headaches. It’s as simple as safe{ something_stupid } and comes with integrated context handling. Check it out and leave your comments!

Is Ruby’s $SAFE safe enough for you?
Looks interesting. So this is in essence a wrapper and convenience methods for …

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).

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). Read more

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…

Pidly - A super simple daemon library

Pidly is a very minimalistic daemon library that doesnt make assumptions. Pidly allows you to control the daemon without getting in the way with forced verbose output and usage messages. Run gem install pidly - source code docs

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 …
Loading older posts