title: How to get human readable class name in Ruby on Rails?
body: <p>I am building an application with Ruby 1.9.3 and Rails 3.0.9</p>
  
  <p>I have a class like below.</p>
  
  <pre><code>module CDA
    class Document
      def humanize_class_name
        self.class.name.gsub("::","")
      end
    end
  end
  </code></pre>
  
  <p>I want the class name like "CDADocument".</p>
  
  <p>Is my humanize_class_name method is the correct way to achieve this?</p>
  
  <p>OR</p>
  
  <p>Any other built in methods available with Rails? </p>