preston / railroady

Ruby on Rails 3/4/5 model and controller UML class diagram generator. (`brew/port/apt-get install graphviz` before use!)
Other
1.71k stars 142 forks source link

Use sql_type to show string lengths and other database oddities #97

Closed kcpyeung closed 9 years ago

kcpyeung commented 9 years ago

Given that the model is an ActiveModel it might be useful to know string lengths as well. With sql_type you always know the ruby type, but not vice versa.