Sha256: de23cd6badbf08ab81eb852f308f9c40f5844b3b9b5b3298a6a2b50b6d17a0b2
Contents?: true
Size: 332 Bytes
Versions: 4
Compression:
Stored size: 332 Bytes
Contents
module Medivo class ZipCode < ActiveRecord::Base ActiveRecord::Base.establish_connection({:adapter=>'sqlite3', :database=>"#{Medivo::Engine.config.root}/db/zip_codes.sqlite3"}) self.table_name = :zip_codes def center_info {:title=> "#{city}, #{state_short}, #{zip_code}", :lat=>lat, lng: lng} end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
medivo-0.0.4 | app/models/medivo/zip_code.rb |
medivo-0.0.3 | app/models/medivo/zip_code.rb |
medivo-0.0.2 | app/models/medivo/zip_code.rb |
medivo-0.0.1 | app/models/medivo/zip_code.rb |