Sha256: b0dc6d2e3c5b471cc63163b184f6379852963d51b9cbdd08ee1b6e4d9bc1bd85
Contents?: true
Size: 505 Bytes
Versions: 1
Compression:
Stored size: 505 Bytes
Contents
class Airport < ActiveRecord::Base set_primary_key :iata_code belongs_to :country, :foreign_key => 'country_iso_3166_code', :primary_key => 'iso_3166_code' acts_as_mappable :default_units => :nms, :lat_column_name => :latitude, :lng_column_name => :longitude data_miner do tap "Brighter Planet's sanitized airports data", Earth.taps_server process "pull dependencies" do run_data_miner_on_belongs_to_associations end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
earth-0.5.0 | lib/earth/air/airport.rb |