Sha256: 07ed81b2b48e87042c1dc2c6d6f82305340cff97ee1b574522fcd1d32387d8dc

Contents?: true

Size: 205 Bytes

Versions: 7

Compression:

Stored size: 205 Bytes

Contents

class User < ActiveRecord::Base
  has_many :watched_items, :through => :watchings
  has_many :watchings, :dependent => :destroy
  
  stream :create
  stream :update, :attributes => [:image_url, :name]
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
streamit-0.0.6.2 test/dummy/app/models/user.rb
streamit-0.0.6.1 test/dummy/app/models/user.rb
streamit-0.0.6 test/dummy/app/models/user.rb
streamit-0.0.5 test/dummy/app/models/user.rb
streamit-0.0.4 test/dummy/app/models/user.rb
streamit-0.0.3 test/dummy/app/models/user.rb
streamit-0.0.1 test/dummy/app/models/user.rb