app/models/knowledge_base/sectionables/text.rb in knowledge_base-0.0.3 vs app/models/knowledge_base/sectionables/text.rb in knowledge_base-0.1.0

- old
+ new

@@ -1,4 +1,7 @@ -module KnowledgeBase - class Sectionables::Text < ActiveRecord::Base +module KnowledgeBase::Sectionables + class Text < Sectionable + def to_s + "#{super}: #{heading}" + end end end