relationships

One simply calls relationships to generate ActiveRecord relationship output.


License
Beerware
Install
gem install relationships -v 0.0.2

Documentation

relationships

Build Status Gem Version Code Climate

Compiles a list of ActiveRecord relationships in a Rails application.

Installation:

gem install relationships

In your Gemfile:

gem 'relationships'

Usage from a shell

Use the following command to generate the relationships folder in the current directory with the reltionships.md file showing models and relationships

$ relationships

Examples:

For the project Expertiza, here is the relationships output.