Sha256: c9373620570c1ef74c382c06b76beed49d161db2843860e007376b457ba26570

Contents?: true

Size: 96 Bytes

Versions: 6

Compression:

Stored size: 96 Bytes

Contents

class Category < ActiveRecord::Base

  belongs_to :shop

  has_slug :name, scope: :shop_id

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slugs-4.0.0.3 test/dummy/app/models/category.rb
slugs-4.0.0.2 test/dummy/app/models/category.rb
slugs-4.0.0.1 test/dummy/app/models/category.rb
slugs-4.0.0.0 test/dummy/app/models/category.rb
slugs-2.0.1 test/dummy/app/models/category.rb
slugs-2.0.0 test/dummy/app/models/category.rb