You are extending the prototypes, are you? two times - from request to menu - from new methods to the previous resulting object?
Actually I'm not really into this Object.Extend style proto thing, but I guess there was some part like don't extend methods like this anymore -> Object.extend(path, src) - to copy them from one "CLASS" to another. Object.extend() makes a deep copy of all the attributes and methods of Request to Menu which will not be really OOP like from my personal point of view, will it ? There are also other ways of inheritence and OOP, availble in Prototype 1.6, as far as I know. However, check out the "class and inheritence" tutorial on the official prototypeJS page it might help you ?! regards Thomas --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
