How To write an acts_as* plugin

Hi,
I need to understand how to write an acts_as_XXX (similar to
acts_as_tree)
plugin
Any good resource to get me started?

Thanks

There’s a few pages on the wiki:
http://wiki.rubyonrails.org/rails/pages/HowToWriteAnActsAsFoxPlugin
http://wiki.rubyonrails.org/rails/pages/HowToWriteAnActsAsChickenPlugin

and a few other links (inc topfunky’s guide here:
http://wiki.rubyonrails.org/rails/pages/HowTosPlugins

It’s also worth looking at acts_as_taggable code with a copy of Ruby For
Rails

HTH

Are act_as_* counted as DSL’s or part of the Rails DSL since it is code
that generates code? Much like attr_accessor.

Thanks Chris, that was a good and helpful start.

2006/7/6, Chris T [email protected]: