Sha256: e46341a25a0c326d848d145cbb78af2961d293f21fae389997d47b94cf031d50

Contents?: true

Size: 411 Bytes

Versions: 74

Compression:

Stored size: 411 Bytes

Contents

class ClimateDivision < ActiveRecord::Base
  set_primary_key :name
  
  has_many :zip_codes, :foreign_key => 'climate_division_name'
  belongs_to :state, :foreign_key => 'state_postal_abbreviation'
  
  RADIUS = 750

  data_miner do
    tap "Brighter Planet's sanitized climate divisions", Earth.taps_server

    process "pull dependencies" do
      run_data_miner_on_belongs_to_associations
    end
  end

end

Version data entries

74 entries across 74 versions & 2 rubygems

Version Path
earth-0.3.8 lib/earth/locality/climate_division.rb
earth-0.3.7 lib/earth/locality/climate_division.rb
earth-0.3.6 lib/earth/locality/climate_division.rb
earth-0.3.5 lib/earth/locality/climate_division.rb
earth-0.3.4 lib/earth/locality/climate_division.rb
earth-0.3.3 lib/earth/locality/climate_division.rb
earth-0.3.2 lib/earth/locality/climate_division.rb
earth-0.3.1 lib/earth/locality/climate_division.rb
earth-0.3.0 lib/earth/locality/climate_division.rb
earth-0.2.14 lib/earth/locality/climate_division.rb
earth-0.2.13 lib/earth/locality/climate_division.rb
earth-0.2.12 lib/earth/locality/climate_division.rb
earth-0.2.11 lib/earth/locality/climate_division.rb
earth-0.2.9 lib/earth/locality/climate_division.rb
earth-0.2.8 lib/earth/locality/climate_division.rb
earth-0.2.7 lib/earth/locality/climate_division.rb
earth-0.2.6 lib/earth/locality/climate_division.rb
earth-0.2.5 lib/earth/locality/climate_division.rb
earth-0.2.4 lib/earth/locality/climate_division.rb
earth-ruby19-0.2.3 lib/earth/locality/climate_division.rb