lib/pupa/models/organization.rb in pupa-0.1.7 vs lib/pupa/models/organization.rb in pupa-0.1.8

- old
+ new

@@ -11,17 +11,15 @@ include Concerns::Nameable include Concerns::Identifiable include Concerns::Contactable include Concerns::Linkable - attr_accessor :name, :classification, :parent_id, :parent, :founding_date, - :dissolution_date, :image - dump :name, :classification, :parent_id, :parent, :founding_date, - :dissolution_date, :image + attr_accessor :name, :classification, :parent_id, :area_id, :founding_date, :dissolution_date, :image, :parent + dump :name, :classification, :parent_id, :area_id, :founding_date, :dissolution_date, :image, :parent - foreign_key :parent_id + foreign_key :parent_id, :area_id - foreign_object :parent + foreign_object :parent # for testing # Returns the name of the organization. # # @return [String] the name of the organization def to_s