You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies in advance for the inexperience that may be reflected in this question. I'd really like to get rails-erd to work, but I'm getting a strange output.
Environment
Ruby 2.4.3; Sinatra 2.6.14; ActiveRecord 4.2.8; MySQL 5.7.
The database is running in a Docker service on my local machine.
Output
I'm generating a model (erd.pdf) that has one element in it, titled "ActiveRecord::SchemaMigrations," with one property: "version: string *".
Output with bundle exec erd:
Loading application in '***'...
Generating entity-relationship diagram for 1 models...
Diagram saved to 'erd.pdf'.
Hi all,
Apologies in advance for the inexperience that may be reflected in this question. I'd really like to get rails-erd to work, but I'm getting a strange output.
Environment
Ruby 2.4.3; Sinatra 2.6.14; ActiveRecord 4.2.8; MySQL 5.7.
The database is running in a Docker service on my local machine.
Output
I'm generating a model (erd.pdf) that has one element in it, titled "ActiveRecord::SchemaMigrations," with one property: "version: string *".
Output with bundle exec erd:
Trace with rake:
Procedure
Added the rails-erd gem and re-ran bundle install.
$ bundle exec erd
I also saw instructions regarding Sinatra and created a rake task that calls "RailsERD::Diagram::Graphviz.create," then ran
$ bundle exec rake erd
Both methods produce the same single-element model (there are about 50 files in models/ ).
I hope you can tell from the symptoms what could be going wrong--please let me know if there is anything else useful I can share.
The text was updated successfully, but these errors were encountered: