annotations

This commit is contained in:
Andreas Stephanides
2013-08-23 12:01:14 +02:00
parent cfcf0be4d5
commit 6d925b1b3d
21 changed files with 274 additions and 48 deletions

View File

@@ -1,3 +1,15 @@
# == Schema Information
#
# Table name: themen
#
# id :integer not null, primary key
# title :string(255)
# text :text
# created_at :datetime not null
# updated_at :datetime not null
# themengruppe_id :integer
#
class Thema < ActiveRecord::Base
attr_accessible :text, :title, :themengruppe_id
has_many :fragen