스케쥴러 시작/정기 기능 추가
This commit is contained in:
@@ -8,6 +8,6 @@
|
||||
# MovieGenre.find_or_create_by!(name: genre_name)
|
||||
# end
|
||||
|
||||
(0..23).each_with_index do |h, index|
|
||||
Schedule.create!(hour: h, temperature: index)
|
||||
(0..23).each do | h |
|
||||
Schedule.create!(hour: h, temperature: 15.0)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user