znamenica/dneslov

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

Summary

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

   has_alphabeth novalidate: true

   validates :url, uri: { allow_lost_slash: true }

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