method

class_name

Importance_1
Ruby on Rails latest stable (v2.3.4) - 0 notes - Class: ActiveRecord::Base
class_name(table_name = table_name) public

Turns the table_name back into a class name following the reverse rules of table_name.

Show source
Register or log in to add new notes.