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.

Floats as array indexes: [ 1, 2 ][0.5] == 1.5 (Why? Because it&#x27;s silly, that&#x27;s why.)

The best jokes have have a huge build-up to the punch line. My build-up is writing a whole gem, Array-subindex, and the punch line is being able to index an array with classes of number other than integers. Confuse your friends and astound your enemies with code like this: > [ 1, 2 ][0.5] > # => 1.5 [more inside]

How to get More Bang for your Heroku Buck While Making Your Rails Site Super Snappy [Redux]

It’s been a year since I last wrote about getting the most from Heroku so I thought it was time for an update. It reflects changes in the Ruby hosting world and includes some new tips based on our experience over the last 12 months. [more inside]

Loading older posts