Skip to content
No description, website, or topics provided.
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.
bin
lib
test
.gitignore
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
rails_upgrade.gemspec

README.md

rails_cleaner

Buy Me A Coffee

Features

  • Locate unused partials
  • Locate unused database tables
  • Locate unused database table columns
  • Convert old ruby hash syntax to 1.9+ syntax (:foo => 'bar' changes to foo: 'bar') (Can be used in any ruby project)
  • Convert old ruby hash syntax to 2.1+ syntax ('data-width' => 500 changes to 'data-width': 500) (Can be used in any ruby project)
rails_cleaner # will run all locate methods in current directory

rails_cleaner --partials --tables --columns my_app/

rails_cleaner --convert --syntax 1.9 my_app/ #outputs changed files

rails_cleaner --convert --syntax 2.1 my_app/ #outputs changes files

Install

gem install rails_cleaner

Credits

Created by Weston Ganger - @westonganger

Buy Me A Coffee

You can’t perform that action at this time.