# Re: Comments Extensions

**URL:** <https://www.ruby-forum.com/t/re-comments-extensions/143008>\
**Category:** Radiant CMS\
**Created:** [July 14, 2008, 1:11pm UTC](https://www.ruby-forum.com/t/re-comments-extensions/143008 "2008-07-14T13:11:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e5b9ba/32.png) [@joshs](https://www.ruby-forum.com/u/joshs)\
**Post date:** [July 14, 2008, 1:11pm UTC](https://www.ruby-forum.com/t/re-comments-extensions/143008/1 "2008-07-14T13:11:28Z")

</div>

I think the guilty portion is in comments\_extension.rb, activate method:

if admin.respond\_to? :page  
admin.page.edit.add :parts\_bottom, “edit\_comments\_enabled”, :before  
=\> “edit\_timestamp”  
admin.page.index.add :sitemap\_head, “index\_head\_view\_comments”  
admin.page.index.add :node, “index\_view\_comments”  
end

It seems like maybe it should test for something other than responding  
to :page. Or perhaps it’s calling the activate method more than once,  
and it’s not supposed to.

Regards,  
Josh
