app/models/chouette/footnote.rb in ninoxe-1.1.5 vs app/models/chouette/footnote.rb in ninoxe-1.2.0
- old
+ new
@@ -1,7 +1,7 @@
class Chouette::Footnote < Chouette::ActiveRecord
# attr_accessible :title, :body
- belongs_to :line
+ belongs_to :line, inverse_of: :footnotes
has_and_belongs_to_many :vehicle_journeys, :class_name => 'Chouette::VehicleJourney'
validates_presence_of :line
end