Michael Fellinger wrote:
> On 9/10/07, Aaron Smith <beingthexemplary / gmail.com> wrote:
>> DAH, I keep running into issues with using the ID property on an object.
>> What is the correct way to use the ID property on an object, without
>> pissing Ruby off? In my app I need to be able to use the id property on
>> any object. Mostly Object/OpenStruct's. I've had a couple things working
>> but then I run into a situation where it doesn't work correctly. Any
>> ideas?
> 
> class Object
>   undef_method(:id)
> end
> 
> Haven't had any issues with this so far, and it's deprecated anyway.
> 
> ^ manveru

That should work perfectly. Thanks.
-- 
Posted via http://www.ruby-forum.com/.