lib/pupa/models/motion.rb in pupa-0.2.3 vs lib/pupa/models/motion.rb in pupa-0.2.4

- old
+ new

@@ -1,10 +1,10 @@ module Pupa # A formal step to introduce a matter for consideration by an organization. class Motion include Model - self.schema = 'popolo/motion' + self.schema = File.expand_path(File.join('..', '..', '..', 'schemas', 'popolo', 'motion.json'), __dir__) include Concerns::Timestamps include Concerns::Sourceable attr_accessor :organization_id, :legislative_session_id, :creator_id, :text, :classification, :date, :requirement, :result