Sha256: 3487a98a03b758546842ce9345cf0f2ac09843c716b5f3f73e27a21cf20c81f7

Contents?: true

Size: 265 Bytes

Versions: 5

Compression:

Stored size: 265 Bytes

Contents

class NationalTransitDatabaseMode < ActiveRecord::Base
  self.primary_key = "code"
  self.table_name = :ntd_modes
  
  def self.rail_modes
    where(:rail_mode => true)
  end
  
  col :code
  col :name
  col :rail_mode, :type => :boolean

  warn_unless_size 14
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
earth-0.12.4 lib/earth/rail/national_transit_database_mode.rb
earth-0.12.3 lib/earth/rail/national_transit_database_mode.rb
earth-0.12.2 lib/earth/rail/national_transit_database_mode.rb
earth-0.12.1 lib/earth/rail/national_transit_database_mode.rb
earth-0.12.0 lib/earth/rail/national_transit_database_mode.rb