mreq

…a blog about ubuntu, sublime text and the web

Easily load YAML fixtures to your rails app (including relations)

While creating a semi-CMS rails skeleton/template (see shle), I've been looking into ways of loading app data during development (and to kick off the production database). Currently, there are no good options for loading complex data structures including relations. That's what led me to writing a custom lib for the task.

Better close window command for Sublime Text

I got fed up with sublime opening the last project and a new window when closed and being launched. This super-simple plugin offers a single better_close_window command, which closes the project and then the window