Skip to content

Instantly share code, notes, and snippets.

@vividtone
Created February 5, 2021 02:15
Show Gist options
  • Save vividtone/d730ec95d3b56d2b6375ebde75b46b03 to your computer and use it in GitHub Desktop.
Save vividtone/d730ec95d3b56d2b6375ebde75b46b03 to your computer and use it in GitHub Desktop.
Redmineの終了状態のステータスの名称の先頭にチェックマーク✅️ を追加する
IssueStatus.where(:is_closed => true).where.not("name like '%✅️ %'").each {|s| s.name = '✅️ ' + s.name; s.save!}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment