This is a package to show the schema state of each Rails model in Atom, but its architected in a way that it would allow to show more amazing things such as a DER of the entire app and maps of the relationships between models in the future.
To activate it, use the following command from the command palette:
This is a rewrite from scratch of the Atom Rails Model Schema package. The approach I used in that package was highly unscalable because at that time, atom panels didn't exist, the file watcher was far from stable (it had random problems when someone ran
rake db:migrate because of it), and it relied heavily on just regular expressions instead of calling the proper Rails code which has the real source of truth.
So I decided to rewrite it from scratch with the idea of making it as robust and extensible as possible, so it could accomodate new features without really weird fights with regular expressions and unsynchronized watchers.
So, if you're still using Atom Rails Model Schema, please use this package instead.
Pull requests are welcome. Just take these points into account:
A detailed plan of what's next is in the ROADMAP file.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.