Eric Hodel schrieb:
> On Aug 23, 2007, at 17:22, Aaron Smith wrote:
>> I've been looking for a way to supress warnings at runtime, not just in
>> the shebang line.. I've tride setting $VERBOSE = nil but that doesn't
>> seem to work right. Specifically i'm getting warnings when accessing
>> Object#id, saying it's deprecated.. is there a way to turn off just
>> deprecated warnings?
> 
> Change calls from .id to .object_id to turn off this warning.
This sounds like rails.1
And the ID of a model is model.id. So you can't change id to object_id.

-- 
Gru, Johannes
Täglich http://blog.hehejo.de und du fühlst dich gut.