Sha256: d257f0e4dc4510daccb8c9691542a54d0dc1e265e8a4c992684a37ec7c5b92ff
Contents?: true
Size: 650 Bytes
Versions: 31
Compression:
Stored size: 650 Bytes
Contents
# # # AUTO GENERATED MODEL # This model was auto generated by the CanvasSync Gem. # You can customize it as needed, but make sure you test # any changes you make to the auto generated methods. # class UserObserver < ApplicationRecord include CanvasSync::Record include CanvasSync::Concerns::ApiSyncable canvas_sync_features :defaults validates :canvas_id, uniqueness: true, presence: true belongs_to :observing_user, primary_key: :canvas_id, foreign_key: :observing_user_id, class_name: 'User', optional: true belongs_to :observed_user, primary_key: :canvas_id, foreign_key: :observed_user_id, class_name: 'User', optional: true end
Version data entries
31 entries across 31 versions & 1 rubygems