All posts by Dan

Graduate of Rochester Institute of Technology’s Applied Networking and Systems Administration program. Currently working as a Senior Security Analyst at one of the top US research Universities in the Northeast. Areas of interest: sysadmin, automating tasks, web application testing, working with hardware, and making already available tools work for unique, specialized situations. Main systems: Windows 7, Mac, Backtrack, vSphere lab, OpenIndiana storage.

Rails – dump an existing database schema so it can be rebuilt easily

One of my gripes (or possibly misunderstandings) with Rails is that you have to make the schema within Rails. I find that difficult – I want to plan it externally, create the schema, and then use it in my app. Perhaps there is an easier way to accomplish that, but here’s what I do.

Continue reading Rails – dump an existing database schema so it can be rebuilt easily

Rails Quick Tip: Show Detailed Errors in Production

OK, before you go yell at me, I know enabling detailed error messages on a production web application is a Bad Thing™. The security guy in me hates finding a production application that spews back all kinds of details to a user when something goes wrong, and I’ve had many a developer disable detailed error messages on their production applications.

Continue reading Rails Quick Tip: Show Detailed Errors in Production