Sha256: b98a446807b85f4d05066295c87cd6c22e2f5243abdf7e01d58bf6aa4f6fd552

Contents?: true

Size: 209 Bytes

Versions: 8

Compression:

Stored size: 209 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

8 entries across 8 versions & 1 rubygems

Version Path
commontator-5.1.0 spec/dummy/app/models/dummy_user.rb~
commontator-4.11.0 spec/dummy/app/models/dummy_user.rb~
commontator-4.10.4 spec/dummy/app/models/dummy_user.rb~
commontator-4.10.3 spec/dummy/app/models/dummy_user.rb
commontator-4.10.2 spec/dummy/app/models/dummy_user.rb
commontator-4.10.1 spec/dummy/app/models/dummy_user.rb
commontator-4.10.0 spec/dummy/app/models/dummy_user.rb
commontator-4.9.0 spec/dummy/app/models/dummy_user.rb