문제

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 ?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top