- We design and build extraordinary applications for companies looking to make the next great idea a reality.
- learn more
Visualizing Your Database Schema Entirely in Rails
I was recently looking into a tool to visualize the schema in a rails app, and found mostly windows only solutions. Some of these included two steps: one to convert your schema into another format (usually XML) and another step which included using a windows only executable to convert that into a diagram.
However, among these I found an interesting plugin which would allow you to not only view your schema live in your application, but also to make changes to it.
I'm not exactly comfortable with the tool being embeded in my application when it has no security around it (can you imagine that being deployed to production?), but I alleviated that fear by checking out a separate copy of the code and installing the plugin into that copy. I didn't check it in (obviously), and use that copy when I need visualization of the schema.
This, of course, is a less than ideal situation; however, the plugin author mentions this concern and plans to address it in a future version. Probably a better way for me to handle this limitation would be to make the code configurable per environment, and then contribute the fix back by creating a new branch in git.
Regardless, this is a valuable plugin. If your particular itch happens to be the same as mine then this plugin might just scratch it for you.
Github: schema-browser
Author's Blog Post about schema-browser
Topics: Ruby on Rails
Leave a comment
About Pathfinder
Recent
- Firefox Plugin Malware ‘Trojan.PWS.ChromeInject.A’
- Pathfinder releases version 1 of the its Flash Platform microsite (codename Mica)
- Pimp my Rails: Five Plugins & Gems to Make Rails Better
- iPhone: Using Pre-processor Directives for Device Testing
- Subtle OpenGL Projection Matrix Difference Between iPhone Simulator and Device
- App Security: Throw Out the Org Chart!
- Pimp my jQuery: Five plugins to replace the features Prototype and Scriptaculous users expect
- Thanksgiving 2008: What We’re Thankful For (In Rails)
- iPhone SDK: Testing with TextMate & GTM
- GWTQuery - JQuery-like Syntax in GWT
Archives
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006

