-# id :integer not null, primary key
-# user_id :integer not null
+# id :bigint(8) not null, primary key
+# user_id :bigint(8) not null
- validates :title, :body, :presence => true
+ validates :title, :body, :presence => true, :invalid_chars => true
validates :title, :length => 1..255
validates :latitude, :allow_nil => true,
:numericality => { :greater_than_or_equal_to => -90,
validates :title, :length => 1..255
validates :latitude, :allow_nil => true,
:numericality => { :greater_than_or_equal_to => -90,