Skip to content

Instantly share code, notes, and snippets.

@thbar
Created November 4, 2009 14:55
Show Gist options
  • Save thbar/226102 to your computer and use it in GitHub Desktop.
Save thbar/226102 to your computer and use it in GitHub Desktop.
# load the Rails configuration (to use migrations, kcode, various extensions)
# to be called from .ebf or .ctl file
require File.dirname(__FILE__) + '/../../config/environment'
# then later on, you can reference your model classes in the etl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment