AutoCommit Sam Aug 22 18:17:03 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-22 18:17:03 +02:00
parent af39f21595
commit 934e004416
4 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@
#
class Neuigkeit < ActiveRecord::Base
attr_accessible :datum, :text, :title, :rubrik_id, :author_id,:picture, :calentries_attributes, :flag_important
attr_accessible :datum, :text, :title, :rubrik_id, :author_id,:picture,:picture_cache, :calentries_attributes, :flag_important
belongs_to :author, :class_name =>'User'
belongs_to :rubrik, :class_name =>'Rubrik', :foreign_key => "rubrik_id"
has_one :calendar, through: :rubrik