9 lines
148 B
Ruby
9 lines
148 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Arduino < ApplicationRecord
|
|
belongs_to :raspberry
|
|
has_many :sensors
|
|
|
|
validates_presence_of :local_id
|
|
end
|