Rails_best_practices

screenshot of Rails_best_practices

a code metric tool for rails projects

Overview:

The rails_best_practices gem is a code metric tool designed to assess the quality of Rails code. It provides support for multiple ORM/ODMs and template engines, making it versatile for various Rails applications. With compatibility for Ruby 1.9.3 or newer, this tool aids developers in maintaining clean and efficient codebases.

Features:

  • Code Quality Assessment: Evaluate the quality of Rails codebase.
  • ORM/ODM Support: Compatible with activerecord, mongoid, and mongomapper.
  • Template Engine Support: Works with erb, haml, slim, rabl, and more.
  • Command-line Options: Customize analysis with various command-line options.
  • Editor Integration: Seamlessly integrate with TextMate 2 for enhanced development experience.
  • Custom Configuration: Tailor analysis settings using a configuration file.
  • Code Improvement Recommendations: Offers suggestions for enhancing code structure and adherence to best practices.