Skip to content

Instantly share code, notes, and snippets.

@NobbZ
Created November 7, 2012 21:31
Show Gist options
  • Select an option

  • Save NobbZ/4034628 to your computer and use it in GitHub Desktop.

Select an option

Save NobbZ/4034628 to your computer and use it in GitHub Desktop.
Configuring with Padrino
require "yaml"
class DvFa < Padrino::Application
register ScssInitializer
use ActiveRecord::ConnectionAdapters::ConnectionManagement
register Padrino::Rendering
register Padrino::Mailer
register Padrino::Helpers
enable :sessions
def initialize(*)
super
@myconf = YAML.load_file("config/config.yml")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment