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.

Shoulda macros for testing ActionMailer

You’ve been missing some shoulda macros for your ActionMailer tests. Yes, the ones that let you say “should_have_to_recipient” or “should_have_subject”. The aptly named shoulda_action_mailer has those macros, and few more. It’s way incomplete in that you can’t expect parts or content types or other special things; but it’s a start. Add ‘em if you got ‘em (more macros that is).

Sinatra's Hat 0.1.1 (the rewrite)

Sinatra’s Hat, the library that lets you create a RESTful Sinatra app in 1 line of code has been completely rewritten, wit a new and improved API. Example mount Article. And that’s it. It works with ActiveRecord out of the box, but can support any ORM. It also supports nested resources, the ability to specify actions to be protected via basic auth, custom formatters, and a sweet DSL for specifying custom flow control.

Quick hack to visualize nested Ruby arrays with Graphviz

I wanted a hack to visualize programs from my compiler project using Graphviz. The script will turn arbitrary arrays containing other arrays or objects that respond to #to_s and turn it into a tree structure.

Argh.. Unfortunately, despite the preview I messed up the link. The correct lin…
Link now fixed - forgot you can edit the entries after posting.

Plenty of Stats

plentyofstats Using Ruby to scrape the free dating site Plenty of Fish for demographic info. Find out which city drinks and smokes the most! Full source and data at github.

Ooh, thanks for posting - still have it open in my browser :-)
Who follows this up by writing an automatic dating bot?

Ruby 1.9.1 released!

It’s just been announced, 1.9.1 the first stable release of the Ruby 1.9 series has been released:

Let the testing and patching begin. Also, the bcrypt gem is still broken wit…
Just done an announcement at Ruby Inside that includes a mirror of the download…
The release is also mirrored out through the Ruby project on RubyForge. …
Very useful to know for future :)

grrid: a Prototype.js based javascript grid

I’ve recently started work on a pure javascript spreadsheet-like grid control called grrid, and I’ve put an early version on github…

BTW, checking out the Leaderboard (see header), if you left a few comments you’…
RE demo: Good point. I’ve not had the chance to set up the server-side part of …
Just realised I wasn’t logged in for my last comment! Peter, what’s the point …
Some people find it motivational. It was actually requested by a user. Official…

There will be no encore.

Meghann hints at the follow-up to RubyFringe. Short version? Block off July 9-12th to avoid an EPIC FAIL.

Ooooh. Very, very, very cool! I guess I should be there, but it’s probably not …
Awesome-o :)
Here’s to more conferences not in Las Vegas.
Las Vegas++!
Loading older posts