【发布时间】:2021-11-12 11:10:06
【问题描述】:
代码如下:
db_table
.where('some condition')
.joins('another table')
.find_each do |table_record|
puts table_record.name
end
是否有 rubocop 规则允许您在 do 之后添加缩进?
db_table
.where('some condition')
.joins('another table')
.find_each do |table_record|
puts table_record.name
end
【问题讨论】:
标签: ruby-on-rails ruby rubocop