Sha256: ab47e36c9f2bcb0e70b34a3e220200a0cc1345c1b7df2c7c2d5c8cff33bc7307

Contents?: true

Size: 105 Bytes

Versions: 9

Compression:

Stored size: 105 Bytes

Contents

class Item < ActiveRecord::Base
  has_many :order_items
  has_many :orders, :through => :order_items
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
datatable-0.2pre6 example_app/app/models/item.rb
datatable-0.2pre5 example_app/app/models/item.rb
datatable-0.2pre4 example_app/app/models/item.rb
datatable-0.2pre3 example_app/app/models/item.rb
datatable-0.2pre2 example_app/app/models/item.rb
datatable-0.2pre1 example_app/app/models/item.rb
datatable-0.1.1alpha4 example_app/app/models/item.rb
datatable-0.1.1alpha1 example_app/app/models/item.rb
datatable-0.1.0alpha2 example_app/app/models/item.rb