class_name method in AR::Base

I've been playing around with nested models and ran across the method
named class_name in Base. While looking at how to modify this to
support nested models, I figured out that it doesn't appear to be used
at all in the code base.

Does this method still have a purpose? In what situation would you want
to determine a class_name from a table name?

I looked through trac but it existed in the oldest version in trac so i
couldn't track down it use.

Bob Silva

When you remove it, all the tests (except the obvious one) still pass,
so I'm stumped. It's :nodoc:'d so it's never been an advertised
feature. Unless someone else chimes in, I can't see why we wouldn't
just remove it...

Michael Koziarski wrote: