Sha256: 1f5af8dd2f729e43f5bd732d5c8443bbb37e886b86f1ed72bc9cd082cb413c5b

Contents?: true

Size: 372 Bytes

Versions: 5

Compression:

Stored size: 372 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 Freeberry::Models::Role
  
  attr_accessible :role_type
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
freeberry-0.3.0 lib/generators/freeberry/models/templates/models/role.rb
freeberry-0.2.9 lib/generators/freeberry/models/templates/models/role.rb
freeberry-0.2.7 lib/generators/freeberry/models/templates/models/role.rb
freeberry-0.2.6 lib/generators/freeberry/models/templates/models/role.rb
freeberry-0.2.5 lib/generators/freeberry/models/templates/models/role.rb