self.table_name = "nodes"
self.primary_keys = "node_id", "version"
self.table_name = "nodes"
self.primary_keys = "node_id", "version"
# the queries generated by Redactable will use the wrong table name.
include Redactable
validates :changeset, :presence => true, :associated => true
validates :latitude, :presence => true,
# the queries generated by Redactable will use the wrong table name.
include Redactable
validates :changeset, :presence => true, :associated => true
validates :latitude, :presence => true,
validates :timestamp, :presence => true
validates :visible, :inclusion => [true, false]
validates :timestamp, :presence => true
validates :visible, :inclusion => [true, false]