Sha256: da6044f05c6fd4907b75a524bd4551da59703f240f1f92fa2ff0947dd0977111

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 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 :authorfirstname, use: :slugged

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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