A.9. Naming
Naming is the module that you include in your class to get name type information for your model.
A.9.1. active_model/naming.rb
model_name
Returns an ActiveModel::Name for the object. Used by Action Pack to determine routing
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial