Skip to content

Instantly share code, notes, and snippets.

@revans
Created September 8, 2008 20:33
Show Gist options
  • Save revans/9530 to your computer and use it in GitHub Desktop.
Save revans/9530 to your computer and use it in GitHub Desktop.
in environments/development.rb
Merb::BootLoader.before_app_loads do
DataMapper.setup(:default, 'mysql://user:demo@localhost/my_cool_app')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment