Open bf4 opened 10 years ago
Comment by rolftimmermans
Monday Feb 25, 2013 at 11:11 GMT
Thanks for reporting. Issues like this are nearly impossible to troubleshoot without having access to the application or at least the models. Is it possible to send/host your app somewhere, or at least the most relevant bits of your domain models?
Comment by dgilperez
Wednesday Mar 13, 2013 at 15:14 GMT
Hi! I'm having the same problem with the last version of rails-erd and Rails 3.2.12. I'm not using Kaminari and eager loaded paths look good ... unfortunatelly I cannot paste neither models nor Gemfile, any idea on how to debug and find the problem?
Comment by rolftimmermans
Tuesday Mar 19, 2013 at 12:23 GMT
For anyone running into this problem, please check the following:
disconnected=true
).rake erd
in (typically development) fully migrated?Troubleshooting applications without having complete access to them is nearly impossible. If anyone can provide me a complete application that fails to generate useful diagrams when fully migrated and with associations present I can be of more help.
Comment by dmytro
Thursday Mar 21, 2013 at 01:07 GMT
Hi Rolf,
Thank you for answer and debugging tips. Will try to find the culprit and let you know.
Best regards, Dmytro
Dmytro Kovalov http://dmytro.github.com
2013/3/19 Rolf Timmermans notifications@github.com
For anyone running into this problem, please check the following:
- Do you have associations between your models? Disconnected models are not normally included (change with disconnected=true).
- Is the database in the environment you are running rake erd in (typically development) fully migrated?
- Copy your database schema/migrations and models into an empty application. Are you able to generate a diagram?
- If so, what is the difference between this "bare bones" application and your original application?
Troubleshooting applications without having complete access to them is near impossible. If anyone can provide me a complete application that fails to generate useful diagrams when fully migrated and with associations present I can be of more help.
— Reply to this email directly or view it on GitHubhttps://github.com/voormedia/rails-erd/issues/42#issuecomment-15111168 .
Comment by phlegx
Wednesday Apr 17, 2013 at 07:47 GMT
Dmytro,
Did you find a solution? I opened a bug report on the same issue. rolftimmermans referenced to it.
best p
Comment by dmytro
Wednesday Apr 17, 2013 at 08:09 GMT
No. Still in the dark. Although I didn't spend too much time with it.
Dmytro Kovalov http://dmytro.github.com
2013/4/17 Phlegx Systems notifications@github.com
Dmytro,
Did you find a solution? I opened a bug report on the same issue. rolftimmermans referenced to it.
best p
— Reply to this email directly or view it on GitHubhttps://github.com/voormedia/rails-erd/issues/42#issuecomment-16491597 .
Comment by espinosa
Monday Jun 03, 2013 at 13:52 GMT
Hi,
Have same error: No entities found; create your models first!
Resovlved by replacing line 154 in diagram.rb -- options.only && entity.model && ![options.only].flatten.include?(entity.name.to_sym) or ++ !options.only.empty? && entity.model && ![options.only].flatten.include?(entity.name.to_sym) or
Regards,
Comment by phlegx
Wednesday Jun 05, 2013 at 14:03 GMT
espinosa, I can confirm this works for me as well! Thank you for finding out!
I created a pull request: https://github.com/voormedia/rails-erd/pull/55
Comment by mleszcz
Wednesday Sep 18, 2013 at 09:43 GMT
+1 "espinosa, I can confirm this works for me as well! Thank you for finding out!"
+1 "espinosa, I can confirm this works for me as well! Thank you for finding out!" - great work!
I am having the same problem as #6 but answers given there didn't help, I am not using kaminari, using Rails 3.2.12
Here's output of commands
and trace