Sha256: 193f49f943b33624cb814908186b62e7dbef49708c87aba13eaaeb8616e5ac08
Contents?: true
Size: 778 Bytes
Versions: 2
Compression:
Stored size: 778 Bytes
Contents
= Streamit (Under development) Provides feed stream like feature to rails apps class Stream include MongoMapper::Document include Streamit::ORM::MongoMapper end # "he9lin started watching auction ipad a minute ago" # # en: # streamit: # watching: # create: "started watching" # class Watching < ActiveRecord::Base belongs_to :watcher, :class_name => "User", :foreign_key => "user_id" belongs_to :watched_item, :class_name => "Item", :foreign_key => "item_id" stream :create, :actor => :watcher, :receiver => :watched_item end # "he9lin edited profile image just now" # # en: # users: # update: # image_url: "edited profile image" # class User < ActiveRecord::Base stream :update, :attributes => :image_url end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
streamit-0.0.6.1 | README.rdoc |
streamit-0.0.6 | README.rdoc |