Links for today: 1

Tuesday, September 04

And now for something new. Links for today. Whatever. It’s new to me.

  • Has finder: a new ActiveRecord extension that makes it easier than ever to create custom find and count queries. Looks better than both of scope-out and scoped-proxy.
  • Zooom: window stuff for OS X. Done right.
  • Webistrano: a web front-end for Capistrano.
  • Seesaw: high-availability Mongrel Packs.
  • Sphincter: ActiveRecord extension for full-text searching with Sphinx.

Canadian Provinces Form Helper for Rails

Wednesday, December 27

I live and work in Canada. It follows, then, that I often need to generate a select box for Canadian provinces, especially for my work at Unspace. Jealous of the built-in helper for Rails that implements country selection, I whipped up a simple plugin.

All it does is extend ActionView::Helpers::FormOptionsHelper adding the methods province_select, and province_options_for_select.

Get it from subversion via: svn://visioni.st/p/canadian_provinces

And yes, it includes tests.