first commit

This commit is contained in:
2025-04-16 23:15:08 +09:00
commit 74f134c71a
153 changed files with 11803 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
class ApplicationRecord < ActiveRecord::Base
primary_abstract_class
end

View File

6
app/models/schedule.rb Normal file
View File

@@ -0,0 +1,6 @@
class Schedule < ApplicationRecord
validates :temperature,
presence: true,
numericality: true,
format: { with: /\A\d+(\.\d)?\z/ }
end