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.5.0 lib/earth/locality/climate_division.rb
earth-0.4.12 lib/earth/locality/climate_division.rb
earth-0.4.11 lib/earth/locality/climate_division.rb
earth-0.4.10 lib/earth/locality/climate_division.rb
earth-0.4.9 lib/earth/locality/climate_division.rb
earth-0.4.8 lib/earth/locality/climate_division.rb
earth-0.4.7 lib/earth/locality/climate_division.rb
earth-0.4.6 lib/earth/locality/climate_division.rb
earth-0.4.5 lib/earth/locality/climate_division.rb
earth-0.4.4 lib/earth/locality/climate_division.rb
earth-0.4.3 lib/earth/locality/climate_division.rb
earth-0.4.2 lib/earth/locality/climate_division.rb
earth-0.4.1 lib/earth/locality/climate_division.rb
earth-0.4.0 lib/earth/locality/climate_division.rb
earth-0.3.15 lib/earth/locality/climate_division.rb
earth-0.3.14 lib/earth/locality/climate_division.rb
earth-0.3.13 lib/earth/locality/climate_division.rb
earth-0.3.11 lib/earth/locality/climate_division.rb
earth-0.3.10 lib/earth/locality/climate_division.rb
earth-0.3.9 lib/earth/locality/climate_division.rb