to_s()
Instance Public methods
Returns the class name.
class BlogPost extend ActiveModel::Naming end BlogPost.model_name.to_s # => "BlogPost"
Returns the class name.
class BlogPost extend ActiveModel::Naming end BlogPost.model_name.to_s # => "BlogPost"
Please login to continue.