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
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs