— Hunter’s Lists [email protected] wrote:
will be deprecated; use Object#object_id, referer:
There are literally hundreds of thousands of these
lines (400MB worth).
There is an unfortunate name space collision, that is
being mitgated by transitioning to object_id. This
will eventually be fixed I understand, but it takes
time to get it right.
The following code in environment.rb will make it go
away, but USE AT YOUR OWN RISK. This is risky code,
and I haven’t been able to figure out why it works,
but it does for us. If you have plenty of test
coverage, it shouldn’t be a problem. We have several
patches like this in a single file that is referenced
patching object_id deprecation warnings
STDERR << “Patching object_id deprecation warnings\n”
object.send(@method_name == ‘id’ ? ‘object_id’
: @method_name) unless object.nil?
Yahoo! DSL ? Something to write home about.
Just $16.99/mo. or less.