Pergunta

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 ?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top