Sha256: 5f5d1d3f0e7c246225dfdaf445283963077a415d62c5ce379ffa5c6bd5778951

Contents?: true

Size: 210 Bytes

Versions: 6

Compression:

Stored size: 210 Bytes

Contents

class DummyUser < ActiveRecord::Base
  acts_as_commontator
  
  attr_accessor :is_admin, :can_edit, :can_read

  def email
    "dummy_user#{id}@example.com"
  end

  def name
    "Dummy User ##{id}"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
commontator-4.8.0 spec/dummy/app/models/dummy_user.rb
commontator-4.7.2 spec/dummy/app/models/dummy_user.rb
commontator-4.7.1 spec/dummy/app/models/dummy_user.rb
commontator-4.7.0 spec/dummy/app/models/dummy_user.rb
commontator-4.6.1 spec/dummy/app/models/dummy_user.rb
commontator-4.6.0 spec/dummy/app/models/dummy_user.rb