Sha256: e276539ec22b18a820ef06defe7a6ea234f73e017cb0ef55645f86b6410f6879
Contents?: true
Size: 424 Bytes
Versions: 10
Compression:
Stored size: 424 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 :authorfullname, use: :slugged # Define for Multiple Records def authorfullname [ [:authorfirstname, :authorlastname] ] end end end
Version data entries
10 entries across 10 versions & 1 rubygems