app/models/chouette/time_table_period.rb in ninoxe-1.1.5 vs app/models/chouette/time_table_period.rb in ninoxe-1.2.0

- old
+ new

@@ -1,10 +1,10 @@ class Chouette::TimeTablePeriod < Chouette::ActiveRecord self.primary_key = "id" belongs_to :time_table, inverse_of: :periods acts_as_list :scope => 'time_table_id = #{time_table_id}',:top_of_list => 0 - attr_accessible :period_start, :period_end, :position,:time_table_id,:time_table + #attr_accessible :period_start, :period_end, :position,:time_table_id,:time_table validates_presence_of :period_start validates_presence_of :period_end validate :start_must_be_before_end