Sha256: 1196e1fc0cc43fda0a1b2a5fb35d49a37a249797bf46c6da9db3b15698704cd9

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

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
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
knowledge_base-0.1.0 app/models/knowledge_base/sectionables/links/link.rb
knowledge_base-0.0.3 app/models/knowledge_base/sectionables/links/link.rb