Dokumentation hinzugefügt

annotation gem installiert und Dokumentation in app/doc eingefügt
This commit is contained in:
Andreas Stephanides
2013-07-23 13:50:03 +02:00
parent 66eef0f198
commit 0216dbdaae
80 changed files with 11110 additions and 1 deletions

View File

@@ -1,3 +1,15 @@
# == Schema Information
#
# Table name: roles
#
# id :integer not null, primary key
# name :string(255)
# resource_id :integer
# resource_type :string(255)
# created_at :datetime not null
# updated_at :datetime not null
#
class Role < ActiveRecord::Base
has_and_belongs_to_many :users, :join_table => :users_roles
belongs_to :resource, :polymorphic => true