Skip to content

Wrapping creates a newline before the close statement #268

Closed
@Crote

Description

@Crote

When running wrapper_open='open' wrapper_close='close' bundle exec rake annotate_models, annotate created the following block:

# open
# == Schema Information
#
# Table name: comments
#
#  id               :integer          not null, primary key
#  commentable_id   :integer          not null
#  commentable_type :string(255)      not null
#  user_id          :integer          not null
#  text_sf          :text
#  created_at       :datetime         not null
#  updated_at       :datetime         not null
#

# close

Note the newline before # close, it should not be there. This happens with all models.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions