znamenica/dneslov

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class PatericLink < Link
   include Languageble

   has_alphabeth novalidate: true

   validates :url, uri: { allow_lost_slash: true }

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