Sha256: c691e526b66bb2a7bc92e5ef9e7bc2dbfa9ec10f3e6a45eca12b4d71ae8f9bdf

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

module Phcscriptcdnpro
  class Script::Author < ApplicationRecord

    # Clean URL Initialize
    extend FriendlyId

    # Listing (None Nested)
    has_many :listings, class_name: 'Phcscriptcdnpro::Script::Listing'

    # Clean URL Define
    friendly_id :lcncname, use: :slugged

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcscriptcdnpro-8.0.2 app/models/phcscriptcdnpro/script/author.rb