Sha256: a3ad6de9aa84f1568e130d7db43b123a36abcd55219da2e14bf14069b9aec7d5
Contents?: true
Size: 813 Bytes
Versions: 6
Compression:
Stored size: 813 Bytes
Contents
# encoding: utf-8 # Go to http://wiki.merbivore.com/pages/init-rb require 'config/dependencies.rb' use_orm :datamapper use_test :rspec use_template_engine :erb Merb::Config.use do |c| c[:use_mutex] = false c[:session_store] = 'cookie' # can also be 'memory', 'memcache', 'container', 'datamapper # cookie session store configuration c[:session_secret_key] = '5db48ea087b5190770eb75a0421769897ffe2be7' # required for cookie session store c[:session_id_key] = '_merb-app_session_id' # cookie session id key, defaults to "_session_id" end Merb::BootLoader.before_app_loads do # This will get executed after dependencies have been loaded but before your app's classes have loaded. end Merb::BootLoader.after_app_loads do # This will get executed after your app's classes have been loaded. end
Version data entries
6 entries across 6 versions & 1 rubygems