app/models/knowledge_base/sectionables/links/link.rb in knowledge_base-0.1.0 vs app/models/knowledge_base/sectionables/links/link.rb in knowledge_base-0.2.0
- old
+ new
@@ -1,10 +1,5 @@
module KnowledgeBase
class Sectionables::Links::Link < ActiveRecord::Base
- # ActiveRecord assumes our table will be called 'knowledge_base_sectionables_link_links'
- # because it likes to singularize modules. 'Links' It is not a module, however, but rather
- # a class that represents a collection of links.
- self.table_name = 'knowledge_base_sectionables_links_links'
-
- belongs_to :links
+ include Concerns::Models::Sectionables::Links::Link
end
end