Sha256: ba8db8ffec3d3078d2167cc0b95f1e1a92aed101b03d11d40267ba9faf49409e

Contents?: true

Size: 273 Bytes

Versions: 53

Compression:

Stored size: 273 Bytes

Contents

# <%= autogenerated_model_warning %>

class Pseudonym < ApplicationRecord
  include CanvasSync::Record

  canvas_sync_features :defaults

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

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
canvas_sync-0.21.0.beta5 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.21.0.beta4 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.21.0.beta3 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.21.0.beta2 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.21.0.beta1 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.20.5 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.20.4 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.20.3 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.1.beta2 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.1.beta1 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.0 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.0.beta10 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.0.beta9 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.0.beta8 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.0.beta7 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.0.beta6 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.0.beta5 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.0.beta4 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.0.beta3 lib/canvas_sync/generators/templates/models/pseudonym.rb
canvas_sync-0.19.0.beta2 lib/canvas_sync/generators/templates/models/pseudonym.rb