# Annotate\_models duplicates comments

**URL:** <https://www.ruby-forum.com/t/annotate-models-duplicates-comments/146678>\
**Category:** Rails\
**Created:** [August 23, 2008, 11:51pm UTC](https://www.ruby-forum.com/t/annotate-models-duplicates-comments/146678 "2008-08-23T23:51:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [August 23, 2008, 11:51pm UTC](https://www.ruby-forum.com/t/annotate-models-duplicates-comments/146678/1 "2008-08-23T23:51:01Z")

</div>

Wondering if anyone else has seen this behavior.

When I run annotate\_models now, instead of overwriting the previous  
comment which lists all of the fields for my model’s backing table, it  
inserts another comment and leaves the previous one. So that you see  
something like this:

# == Schema Information

# Schema version: 36

# 

# Table name: debits

# 

# id :integer(10) not null, primary key

# applicant\_id :integer(11)

# authorization\_id :integer(11)

# amount :integer(11)

# evaluation\_id :integer(11)

# created\_at :datetime

# updated\_at :datetime

# 

# == Schema Information

# Schema version: 35

# 

# Table name: debits

# 

# id :integer(10) not null, primary key

# applicant\_id :integer(11)

# authorization\_id :integer(11)

# amount :integer(11)

# evaluation\_id :integer(11)

# created\_at :datetime

# updated\_at :datetime

# 

Has anyone seen this and know what it is?
