Class Place
In: app/models/place.rb
Parent: ActiveRecord::Base

Places are currently located using either a combination of lat and long, or a GIS area stored as a string. None of these things have been connected into the front end, so places are currently just named objects with no real real world location.

schema.rb snippet:

  create_table "places", :force => true do |t|
    t.column "latitude",    :integer
    t.column "longitude",   :integer
    t.column "area",        :text
    t.column "description", :text
    t.column "restriction", :string
  end

[Validate]