RubyGems Navigation menu

attribute-stats 0.1.1

Attribute Stats gives you insight into which attributes are actually used in your Rails models. Whether you're joining an existing project or have been using it for years, get quick info. The stats help you find smells in your project: Attributes which have never had data set (indicates a potentially forgotten attribute); Tables which haven't been updated for X years (indicates a potentially unused or legacy model); Attributes used by very few objects in your table (is this being used? Should it be an attribute?) It also generates sample Rails database migration code to allow you to drop the database columns.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.3.0 - October 02, 2018 (15 KB)
  2. 0.2.0 - October 01, 2018 (14 KB)
  3. 0.1.1 - September 28, 2018 (13.5 KB)
  4. 0.1.0 - September 08, 2018 (13.5 KB)

Runtime Dependencies (2):

hirb ~> 0.7
rails < 6, >= 4.2

Development Dependencies (5):

appraisal ~> 2.2
bundler ~> 1.9
rake ~> 10.0
rspec ~> 3
sqlite3 ~> 1.0

Owners:

Authors:

  • Steve Hodges

SHA 256 checksum:

92faf53a17c9f1742645ba722685bceda471a445fac93532079fd862335886dd

Total downloads 8,414

For this version 1,740

License:

MIT

Required Ruby Version: >= 2.0.0

Links: