Sha256: e5444674fc4da60225b8ed8e2e42c6ca3203479d7d8cb145a3004939b0fb1764

Contents?: true

Size: 370 Bytes

Versions: 15

Compression:

Stored size: 370 Bytes

Contents

# == Schema Information
#
# Table name: roles
#
#  id         :integer(4)      not null, primary key
#  role_type  :integer(1)      default(0)
#  user_id    :integer(4)      not null
#  created_at :datetime
#  updated_at :datetime
#
# Indexes
#
#  fk_user  (user_id)
#

class Role < ActiveRecord::Base
  include Sunrise::Models::Role
  
  attr_accessible :role_type
end

Version data entries

15 entries across 13 versions & 4 rubygems

Version Path
sunrise-core-0.2.2 lib/generators/sunrise/templates/models/defaults/role.rb
sunrise-core-0.2.1 lib/generators/sunrise/templates/models/defaults/role.rb
sunrise-core-0.2.1 spec/tmp/app/models/defaults/role.rb
sunrise-widgets-0.1.1 spec/dummy/app/models/defaults/role.rb
sunrise-locales-0.1.0 spec/dummy/app/models/defaults/role.rb
sunrise-core-0.2.0 spec/tmp/app/models/defaults/role.rb
sunrise-core-0.2.0 lib/generators/sunrise/templates/models/defaults/role.rb
sunrise-widgets-0.1.0 spec/dummy/app/models/defaults/role.rb
sunrise-questions-0.1.0 spec/dummy/app/models/defaults/role.rb
sunrise-core-0.1.5 lib/generators/sunrise/templates/models/defaults/role.rb
sunrise-core-0.1.4 lib/generators/sunrise/templates/models/defaults/role.rb
sunrise-core-0.1.3 lib/generators/sunrise/templates/models/defaults/role.rb
sunrise-core-0.1.2 lib/generators/sunrise/templates/models/defaults/role.rb
sunrise-core-0.1.1 lib/generators/sunrise/templates/models/defaults/role.rb
sunrise-core-0.1.0 lib/generators/sunrise/templates/models/defaults/role.rb