diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-10-06 10:51:50 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-10-06 10:51:50 +0200 |
commit | 74859f5784be628b13db2a12f5683a18028c8e50 (patch) | |
tree | 42f43d27f45a44cb4a156e2556080647d8cb7894 | |
parent | 31eb88c71d044833064c9d6cd3f79711f938ed84 (diff) | |
parent | e8c2f0bebe1318e2a977f51e9e70cf626af35c5e (diff) | |
download | rails-74859f5784be628b13db2a12f5683a18028c8e50.tar.gz rails-74859f5784be628b13db2a12f5683a18028c8e50.tar.bz2 rails-74859f5784be628b13db2a12f5683a18028c8e50.zip |
Merge pull request #21881 from b1nary/active_model_doc_fix
use ActiveModel::Naming module instead of Model [ci skip]
-rw-r--r-- | activemodel/lib/active_model/naming.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/naming.rb b/activemodel/lib/active_model/naming.rb index de5fb27467..d86ef6224e 100644 --- a/activemodel/lib/active_model/naming.rb +++ b/activemodel/lib/active_model/naming.rb @@ -226,7 +226,7 @@ module ActiveModel # (See ActiveModel::Name for more information). # # class Person - # include ActiveModel::Model + # extend ActiveModel::Naming # end # # Person.model_name.name # => "Person" |