Sha256: 55d16389cec9a053d87491d55ec4aae49cd71cf9c5597492461ae86eed7445a6
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
require 'hario' class Brand < ActiveRecord::Base include Hario::Filterable has_many :products end class Product < ActiveRecord::Base belongs_to :brand belongs_to :category, class_name: "ProductCategory" end class ProductCategory < ActiveRecord::Base has_many :products end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hario-0.1.1 | test/models.rb |