# File lib/couch_potato/persistence/attachments.rb, line 15 def to_hash if _attachments && _attachments.any? super.merge('_attachments' => _attachments) else super end end