Ruby on rails 声纳问题
在rails中,为什么我会在sonar Qube中闻到代码气味: 添加解释此函数为何为空的嵌套注释或完成实现 我添加了多行注释:Ruby on rails 声纳问题,ruby-on-rails,ruby,Ruby On Rails,Ruby,在rails中,为什么我会在sonar Qube中闻到代码气味: 添加解释此函数为何为空的嵌套注释或完成实现 我添加了多行注释: def edit # This is an empty action # Page is renedered in corresponding view file end =begin Action is empty Action is empty =end def index end # This is an empty action #
def edit
# This is an empty action
# Page is renedered in corresponding view file
end
=begin
Action is empty
Action is empty
=end
def index
end
# This is an empty action
# Page is renedered in corresponding view file
def edit
end
def show
=begin
xzxzxzx dffd
dsdsdsddsd dffdf
=end
他们都没有工作。请帮我拿一下。这闻起来像脱毛。