design und struktur (container - unnötige entfernt)

This commit is contained in:
Andreas Stephanides
2013-09-07 12:37:16 +02:00
parent 1c44ddc2ba
commit a60bdf5149
14 changed files with 137 additions and 202 deletions

View File

@@ -14,6 +14,7 @@ class Calendar < ActiveRecord::Base
attr_accessible :name, :public, :picture
has_and_belongs_to_many :calentries
mount_uploader :picture, PictureUploader
belongs_to :rubrik
resourcify
scope :public, -> { where(:public => :true) }
end