def bbox
@bbox ||= [ min_lon, min_lat, max_lon, max_lat ]
end
def bbox
@bbox ||= [ min_lon, min_lat, max_lon, max_lat ]
end
def update_from(other, user)
# ensure that only the user who opened the changeset may modify it.
unless user.id == self.user_id
def update_from(other, user)
# ensure that only the user who opened the changeset may modify it.
unless user.id == self.user_id