Hey prototype and scriptaculous fans:

I've changed actsAsDecorator() into actsAsAspect().  Along the way, I've fixed a few bugs and added new features.  However, what's surprising is that the code is even smaller than it was before.  I'm kinda happy about that, but more importantly...  If you were using actsAsDecorator() before, please use actsAsAspect() instead (because it works a lot better).

Here is the blog post:
http://beppu.lbox.org/articles/2006/09/06/actsasaspect

Enjoy,
--beppu

PS: I'm normally against copy-and-paste coding, but for actsAsAspect(), I think it's an appropriate distribution mechanism.  ;-)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to