mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Update README.md
This commit is contained in:
parent
214ab99ef5
commit
73828d82d5
1 changed files with 2 additions and 2 deletions
|
@ -387,7 +387,7 @@ class Job < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def self.sleeping
|
||||
"This method name is in already use"
|
||||
"This method name is already in use"
|
||||
end
|
||||
end
|
||||
```
|
||||
|
@ -398,7 +398,7 @@ class JobsController < ApplicationController
|
|||
@running_jobs = Job.running
|
||||
@recent_cleaning_jobs = Job.cleaning.where('created_at >= ?', 3.days.ago)
|
||||
|
||||
# @sleeping_jobs = Job.sleeping #=> "This method name is in already use"
|
||||
# @sleeping_jobs = Job.sleeping #=> "This method name is already in use"
|
||||
end
|
||||
end
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue