znamenica/dneslov

View on GitHub
app/models/links/descriptive_link.rb

Summary

Maintainability
A
0 mins
Test Coverage
class DescriptiveLink < Link
   include Languageble

   has_alphabeth novalidate: true

   validates :url, uri: { allow_lost_slash: true }

   belongs_to :info, inverse_of: :descriptives, polymorphic: true
end