Sha256: 057ef9b2bf2bb1a562eb45235ef8662ffba85f293b93cddb22664335a99b5de6
Contents?: true
Size: 552 Bytes
Versions: 5
Compression:
Stored size: 552 Bytes
Contents
class EgridRegion < ActiveRecord::Base set_primary_key :name has_many :egrid_subregions, :foreign_key => 'egrid_region_name' data_miner do tap "Brighter Planet's egrid region data", Earth.taps_server process "pull dependencies" do run_data_miner_on_belongs_to_associations end end # FIXME TODO someday should calculate this from eGRID data: (USTNGN05 + USTNFI05 - USTCON05) / USTNGN05 falls_back_on :name => 'fallback', :loss_factor => 0.061879 # calculated using above formula 2/21/2011 end
Version data entries
5 entries across 5 versions & 1 rubygems