Dokumentation hinzugefügt
annotation gem installiert und Dokumentation in app/doc eingefügt
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: neuigkeiten
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# title :string(255)
|
||||
# text :text
|
||||
# datum :datetime
|
||||
# rubrik_id :integer
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
|
||||
class Neuigkeit < ActiveRecord::Base
|
||||
attr_accessible :datum, :text, :title, :rubrik_id
|
||||
belongs_to :author, :class_name =>'User'
|
||||
|
||||
Reference in New Issue
Block a user