Sha256: b43b649eb77a60b98a0cb0ccce3e3d1a6f7f527a8ad8ee2a24b86ffafd2f8737

Contents?: true

Size: 88 Bytes

Versions: 4

Compression:

Stored size: 88 Bytes

Contents

class Category < ActiveRecord::Base
  has_many :products

  def to_s
    name
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dejavu-0.3.1 test_app/app/models/category.rb
dejavu-0.3.0 test_app/app/models/category.rb
dejavu-0.2.1 test_app/app/models/category.rb
dejavu-0.2.0 test_app/app/models/category.rb