place.rb

Path: app/models/place.rb
Last Update: Fri Nov 23 14:13:52 +1100 2007

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]