This commit is contained in:
Thomas Blazek
2013-08-19 23:20:56 +02:00
7 changed files with 38 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
class Frage < ActiveRecord::Base
attr_accessible :text, :title
attr_accessible :text, :title, :thema_id
belongs_to :thema
validates :thema, :presence => true