I just wrote another plugin: habtm_helper_plugin. This plugin will generate HTML code to manage has_and_belongs_to_many relationships.

What does it look like ? See here:

HABTM generated manager

Release 0.1.0 is up for grabs, in one of four ways:
  • svn propset http://opensvn.csie.org/habtm_helper_plugin/tags/0.1.0 svn:externals vendor/plugins WARNING: Destructive if you already set other externals
  • script/plugin http://opensvn.csie.org/habtm_helper_plugin/tags/0.1.0
  • svn export http://opensvn.csie.org/habtm_helper_plugin/trunk vendor/plugins/habtm_helper/tags/0.1.0
  • Download habtm-helper-plugin-0.1.0.zip

Full documentation in source. If you want to know, the filter was developed using RSpec. I wrote a lenghty article on my experience using Behavioral Driven Design at Building a plugin on RSpec

The project is hosted on OpenSVN. The project and Trac wiki/bug database is available at the habtm_helper_plugin project home page.

Leave a Reply

 

Search

A picture of me

I am François Beausoleil, a Ruby on Rails coder. During the day, I work on XLsuite. At night, I am interested many things. Read my biography

Tags

(4) (1) (1) (1) (1) (2) (1) (1) (1) (2) (2) (1) (2) (1) (3) (1) (2) (1) (1) (1) (1) (2) (14) (1) (1) (1) (1) (2) (1) (1) (2) (0) (1) (4) (1) (3) (1) (1) (1) (1) (1) (1) (0) (3) (2) (1) (2) (1) (3) (1) (5) (2) (10) (10) (11) (14) (2) (1) (3) (1) (1) (1) (1) (1) (0) (1) (2) (2) (2) (1) (1) (1) (4) (1) (3) (1) (4) (2) (2) (25) (2) (1) (1) (0) (1) (1) (1) (23) (25) (1) (1) (13) (1) (1) (1) (4) (5) (1) (1) (1) (4) (1) (2) (3) (4) (4) (1) (1) (1) (8) (3) (1) (5) (5) (2) (2) (2) (4) (8) (7) (1) (1) (1) (1) (2) (4) (1) (4) (12) (2) (1) (2) (4) (1) (1) (1) (2) (8) (2) (3) (2) (2) (1) (3) (1) (1)

Links

Projects I work on

Categories

Archives