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.

ActiveHelper for Rails!

The framework providing a generic OOP helper API just got a binding for Rails. Go and read how to write those clean, aesthetic helpers in Rails.

amazing! i’m looking forward to use it in my new rails project. it’ll make life…

Rails, Paperclip, -auto-orient, and resizing...

I recently had a situation in which I wanted to generate thumbnail images and have them constrained to 67x50 (specifically “67x50>”). No problem so far, but I also wanted to auto rotate (via Imagemagick’s -auto-orient option) the images as they all come from a digital camera that provides this information. This causes a problem. Namely that some images ended up being 50x67 instead of 67x50. Here is my solution.

CarrierWave makes this way easier. Just saying.
Link broked.

Lightning - Speed For Your Shell

Introducing lightning, a gem which could revolutionize how fast you are on the commandline. The first post explains what it’s capable of. The second post explains how to use it. With this gem, rubyists may be pleased to know they can apply any command on the commandline to a standard ruby library, less-ruby fileutils.rb, or a gem directory, cd-gem rails-3.0.0.beta, with autocompletion.

Parametric Mixins Perfected

Just released Paramix v2. I have to thank Jonathan Rochkind for striking up a conversation with me concerning the project. Our dialog sparked a complete redesign and I have to say, the new implementation is damn near perfection.

Boost.Regex in Ruby

Ruby makes Regexes easy. Boost.Regex in C++ offers a really fast Regex implementation that blows Ruby’s regexes out of the water. I just made a gem so you can have both. Just run gem install ruby-boost-regex.

Which version of Ruby are you using for your benchmarks?
He’s using 1.8 (#include “re.h” not “ruby/re.h” amongst other reasons I don’t t…
Shanna is correct - this is 1.8.x. Working on 1.9 right now, but since most pr…
Loading older posts