From 1cd3d631b992926cb04d071f17f148910b4161a3 Mon Sep 17 00:00:00 2001 From: Ryan Moser Date: Wed, 30 Apr 2014 20:17:15 -0700 Subject: [PATCH] use class method instead of instance method in scope example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d6d9f62..279eb8f 100644 --- a/README.md +++ b/README.md @@ -308,7 +308,7 @@ class Job < ActiveRecord::Base state :cleaning end - def sleeping + def self.sleeping "This method name is in already use" end end