Question

I want to generate documentation for my rails application. The application has models with relationship(e.g. has_many relation) and I am looking for a way to generate documentation that shows the relation between models. Ideally, with some graphs those represent the relationships between models.

Is there a way to achieve this in rails 3.2x ?

Was it helpful?

Solution

Check out the rails-erd gem. It generates entity-relationship diagrams from your models.

The Rubymine IDE also does it on the fly, but it's not free.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top