ClearTransitServer/models/agency_bounds.rb

9 lines
348 B
Ruby
Raw Permalink Normal View History

2014-11-23 01:05:03 +00:00
# Table for storing boundries of given agencies to auto-detect
class AgencyBound < ActiveRecord::Base
validates :agency, :lat_max, :lat_min, :lon_max, :lon_min, presence: true
# validates :lat_max, presence: true
# validates :lat_min, presence: true
# validates :lon_max, presence: true
# validates :lon_min, presence: true
end