Sha256: a46e072ab44aaa4ad866cc89dd85512f9b24283a7005029a9a414e1471179f70

Contents?: true

Size: 379 Bytes

Versions: 7

Compression:

Stored size: 379 Bytes

Contents

class TestUser < ActiveRecord::Base
  self.table_name = "users"
end

class TestItem < ActiveRecord::Base
  self.table_name = "items"
end

class TestWatching < ActiveRecord::Base
  self.table_name = "watchings"
  
  belongs_to :watcher,      :class_name => "TestUser", :foreign_key => "user_id"
  belongs_to :watched_item, :class_name => "TestItem", :foreign_key => "item_id"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
streamit-0.0.6.2 test/support/fixtures.rb
streamit-0.0.6.1 test/support/fixtures.rb
streamit-0.0.6 test/support/fixtures.rb
streamit-0.0.5 test/support/fixtures.rb
streamit-0.0.4 test/support/fixtures.rb
streamit-0.0.3 test/support/fixtures.rb
streamit-0.0.1 test/support/fixtures.rb