Hmmm... my reply didn't post for some reason (most likely because of some idiot mistake on my part :p )
On Jan 29, 8:29 pm, kangax <[EMAIL PROTECTED]> wrote: > I believe this should be mentioned in the docs. I took a look through the docs and didn't see this caveat mentioned. I have submitted a ticket: http://dev.rubyonrails.org/ticket/10962 After thinking about it, though, it seems to me that this is something that should be accounted for in the library, and not simply documented as a gotcha. Because of this, one cannot call the "remove" method on an anonymous node without the possibility of an error being thrown. One option would be to create an alias for the "remove" function. Another might be to rename the native remove function and replace it with the Prototype method. Just a though --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
