app/models/subscribe.rb in enju_library-0.1.0.pre39 vs app/models/subscribe.rb in enju_library-0.1.0.pre40

- old
+ new

@@ -1,6 +1,5 @@ class Subscribe < ActiveRecord::Base - attr_accessible :subscription_id, :work_id, :start_at, :end_at belongs_to :subscription, :counter_cache => true, validate: true belongs_to :work, class_name: 'Manifestation', validate: true validates_associated :subscription, :work validates_presence_of :subscription, :work, :start_at, :end_at