GeoRSS aggregator and Layar augmented reality server
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
282 B

  1. class Post
  2. include MongoMapper::Document
  3. key :title, String
  4. key :url, String
  5. key :author, String
  6. key :summary, String
  7. key :content, String
  8. key :published, Time
  9. key :loc, Hash # { lng, lat }
  10. timestamps!
  11. belongs_to :feed
  12. end