Forum: Ruby on Rails (announce) Engines 1.2 plugin creation tutorial

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Gwyn Morfey (Guest)
on 2007-03-07 16:51
(Received via mailing list)
I've just written a tutorial on writing plugins that use the Engines
1.2 plugin. The latest release of Engines changes quite a few things,
and while they're all documented in the rdoc, I've pulled them
together into a more easily-digestible format for beginners.

It's at .

I've also released a plugin called Macaque, which is a brutally simple
wiki. It's at .

I'd be interested in feedback on either or both.


James A. (Guest)
on 2007-03-08 11:33
(Received via mailing list)
Looks nice Gwyn,

One suggestion though. I'd go for

  module Macaque
    mattr_accessor :option
    self.option = "something'

rather than

  @@option = "something"

since it's better to work with the interface that mattr_accessor
guarantees, rather than relying on how it's implemented :)

Gwyn Morfey (Guest)
on 2007-03-08 12:01
(Received via mailing list)
>     mattr_accessor :option
>     self.option = "something'
Done - thanks.

Hammed M. (Guest)
on 2007-03-08 14:50
(Received via mailing list)
Hey Gwyn,

It's useful to have all this information in one place. Thanks!

This topic is locked and can not be replied to.