gem install relationships
In your Gemfile:
gem 'relationships'
Use the following command to generate the relationships folder in the current directory with the reltionships.md file showing models and relationships
$ relationships
For the project Expertiza, here is the relationships output.