How about http://jamis.jamisbuck.org/articles/2005/10/11/plugging-into-rails?
On 10/20/05, Gabriel Gironda
<gabriel.gironda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I''ve created a patch that''s up at
http://dev.rubyonrails.com/ticket/
> 2506. It basically allows for using single table inheritance based on
> predefined conditions rather than the value of a type column,
> allowing for easier migration from legacy schemas that you can''t
> really add a type column to while you''re porting the app to Rails,
> and a few other uses as seen in the example and in the unit tests I
> also supplied with it.
>
> It''s been suggested I make it a plugin for Rails 1.0, however I
have
> no experience with this, and would appreciate some pointers as to
> what I should be doing to package it as a plugin for Rails 1.0.
I''d
> also appreciate any suggestions, additional tests, and schema
> changes, as right now the tests only run against MySQL since it''s
all
> I have available.
>
> Thanks,
>
> Gabriel
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>