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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
strip_comments.rb

README.md

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

USAGE

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

  1. git clone https://github.com/MatiasFMolinari/strip_ruby_comments.git
  2. $ ruby strip_comments.rb [PATH_TO_ROOT_RAILS_APP]
You can’t perform that action at this time.