calentry js interface

This commit is contained in:
Andreas Stephanides
2014-11-16 14:30:04 +01:00
parent 4c47919543
commit c49ec5e736
11 changed files with 71 additions and 43 deletions

View File

@@ -13,7 +13,7 @@
#
class Calentry < ActiveRecord::Base
attr_accessible :ende, :start, :summary, :typ,:calendar_ids, :calendar, :dauer
attr_accessible :ende, :start, :summary, :typ,:calendar_ids, :calendar, :dauer, :object_id, :object_type
belongs_to :calendar
#belongs_to :neuigkeit
validates :start, :presence => true