Flowdock
method

to_s

Importance_1
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActiveModel::Name
to_s public

Returns the class name.

class BlogPost
  extend ActiveModel::Naming
end

BlogPost.model_name.to_s # => "BlogPost"
Show source
Register or log in to add new notes.