rails-atom-schema

Schema information for Rails projects

juliogarciag

791

0

1.1.1

MIT

GitHub

Rails Atom Schema

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: rails-atom-schema:toggle or ctrl-alt-s.

About a previous package...

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. 😉

Contributing

Pull requests are welcome. Just take these points into account:

Roadmap

A detailed plan of what's next is in the ROADMAP file.