I am having an issue where class_name seems to work on something like
User.first.class.class_name locally but it seems to fail in production.
I am trying to figure out where class_name is defined (I am using it on something like Admin::User.first.name.class_name to return "User" since I want the demodulized class name.) Why would it not work on production?
Where can I see what module class_name is a part of?