Skip to content
✂️ ♦️ 📝 Remove code comments from newly generated Rails apps.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Delete Rails Comments - Version 0.0.1

Delete comments generated by 'rails new'

  • Only tested in Rails 5.2.0
  • DO NOT use on existing projects, only newly created ones
  • This is not production ready, could cause memory issues on big files


Make sure to git commit the current version of your Rails app before using this.

  1. git clone
  2. $ ruby strip_comments.rb [PATH_TO_ROOT_RAILS_APP]
You can’t perform that action at this time.