Sha256: bff4b412eeebdc47ac1fb8d7de57b155dcb011f0645b6e74fc6a0300ca3b4656

Contents?: true

Size: 282 Bytes

Versions: 7

Compression:

Stored size: 282 Bytes

Contents

module Unidom::Geo::Concerns::AsRegion

  extend ActiveSupport::Concern

  included do |includer|

    has_many :locations, class_name: 'Unidom::Geo::Location'
    has_many :locatings, through:    :locations,              source: :locatings

  end

  module ClassMethods
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
unidom-geo-1.4.3 app/models/unidom/geo/concerns/as_region.rb
unidom-geo-1.4.2 app/models/unidom/geo/concerns/as_region.rb
unidom-geo-1.4.1 app/models/unidom/geo/concerns/as_region.rb
unidom-geo-1.4 app/models/unidom/geo/concerns/as_region.rb
unidom-geo-1.3 app/models/unidom/geo/concerns/as_region.rb
unidom-geo-1.2 app/models/unidom/geo/concerns/as_region.rb
unidom-geo-1.1 app/models/unidom/geo/concerns/as_region.rb