app/models/phcscriptcdn/script/author.rb in phcscriptcdn-48.0.0 vs app/models/phcscriptcdn/script/author.rb in phcscriptcdn-49.0.0
- old
+ new
@@ -8,16 +8,9 @@
has_paper_trail :class_name => 'Phcscriptcdn::AuthorVersions'
# Relationships
has_many :listings, class_name: 'Phcscriptcdn::Script::Listing'
- # Validation for Form Fields
- validates :authorfirstname,
- presence: true
-
- validates :authorlastname,
- presence: true
-
# Clean URL Define
friendly_id :phcscriptcdn_author_slug, use: [:slugged, :finders]
# Define for Multiple Records
def phcscriptcdn_author_slug