app/models/chouette/time_table_date.rb in ninoxe-1.1.1 vs app/models/chouette/time_table_date.rb in ninoxe-1.1.2
- old
+ new
@@ -6,16 +6,11 @@
validates_presence_of :date
validates_uniqueness_of :date, :scope => :time_table_id
attr_accessible :date, :position, :time_table_id, :time_table, :in_out
- after_update :update_parent
-
def self.model_name
ActiveModel::Name.new Chouette::TimeTableDate, Chouette, "TimeTableDate"
end
- def update_parent
- time_table.shortcuts_update
- end
end