Sha256: 98f199f943927a526354fee76bc5f47755550a359f1307c5aaba4ffc7561e497

Contents?: true

Size: 297 Bytes

Versions: 7

Compression:

Stored size: 297 Bytes

Contents

class RemoteProduct < Product
  establish_connection 'remote'

  has_many :line_items, class_name: 'RemoteLineItem', foreign_key: 'product_id'
  has_and_belongs_to_many :tags, class_name: 'RemoteTag', join_table: 'products_tags', foreign_key: 'product_id', association_foreign_key: 'tag_id'
end


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
forceps-0.6.7 test/support/remote_product.rb
forceps-0.6.4 test/support/remote_product.rb
forceps-0.6.3 test/support/remote_product.rb
forceps-0.6.2 test/support/remote_product.rb
forceps-0.6.1 test/support/remote_product.rb
forceps-0.6.0 test/support/remote_product.rb
forceps-0.5.0 test/support/remote_product.rb