Sha256: cc8191c2667201c4354fe26962fde818b9a8366f3be0502c299d82dff4ef9374
Contents?: true
Size: 231 Bytes
Versions: 83
Compression:
Stored size: 231 Bytes
Contents
class ProductTariff < ActiveRecord::Base self.primary_keys = :product_id, :tariff_id, :tariff_start_date belongs_to :product, :foreign_key => :product_id belongs_to :tariff, :foreign_key => [:tariff_id, :tariff_start_date] end
Version data entries
83 entries across 83 versions & 1 rubygems