app/models/chouette/time_table_period.rb in ninoxe-0.1.2 vs app/models/chouette/time_table_period.rb in ninoxe-0.1.3
- old
+ new
@@ -1,6 +1,6 @@
class Chouette::TimeTablePeriod < Chouette::ActiveRecord
- set_primary_key :id
+ self.primary_key = "id"
belongs_to :time_table
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