Sha256: c06fb05d9f8bedc81ca17b9dec92fad29e2d5cad2f4e976cdf89c18c1c4337d9

Contents?: true

Size: 239 Bytes

Versions: 80

Compression:

Stored size: 239 Bytes

Contents

# <%= autogenerated_model_warning %>

class Pseudonym < ApplicationRecord
  include CanvasSync::Record

  validates :canvas_id, uniqueness: true, presence: true
  belongs_to :user, primary_key: :canvas_id, foreign_key: :canvas_user_id
end

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
canvas_sync-0.17.43 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.42 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.41 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.40 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.39 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.38 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.37 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.36 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.35 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.34 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.33 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.32 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.31 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.30 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.29 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.28 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.27 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.27.beta1 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.26.beta1 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.17.24 lib/canvas_sync/generators/templates/models/pseudonym.rb