Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Picombo
- module Models
- class Feed_Post < Picombo::Model
- storage_names[:default] = 'feed_posts'
- property :id, Serial, :key => true
- property :content, String
- belongs_to :user, :model => 'Picombo::Models::User'
- end
- end
- end
Add Comment
Please, Sign In to add comment