[ rails_best_practices ] check the quality of Rails code

rails_best_practices is a code metric tool to check the quality of Rails code.

It supports the following ORM/ODMs:

  • activerecord
  • mongoid
  • mongomapper

And the following template engines:

  • erb
  • haml
  • slim
  • rabl

Run at the root directory of the Rails app

$ rails_best_practice .

Option

exclude : -e “db/migrate”

ref : https://github.com/railsbp/rails_best_practices

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s