Sha256: 6588f586d641f3f2990df4dd2e62086cb1267d14f3d307e942476dae24c07ad8

Contents?: true

Size: 146 Bytes

Versions: 2

Compression:

Stored size: 146 Bytes

Contents

class User < ActiveRecord::Base
  
  extend Canard::UserModel
  acts_as_user :roles => [:admin, :author, :viewer]
  
  attr_accessible :roles
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
canard-0.2.7 test/dummy/app/models/user.rb
canard-0.2.5 test/dummy/app/models/user.rb