Sha256: c1e7aab127e77745574e39522ad0e72e45c00922a613c2e75f758aa1f72ce7ad
Contents?: true
Size: 794 Bytes
Versions: 15
Compression:
Stored size: 794 Bytes
Contents
# Load the merb_global from current tree Gem.clear_paths Gem.path.unshift((Pathname(__FILE__).dirname + '../../../pkg').expand_path) $LOAD_PATH.unshift((Pathname(__FILE__).dirname + '../../../lib').expand_path) Merb::Router.prepare do |r| r.match('/').to(:controller => 'active_record_example', :action =>'index') end use_orm :activerecord dependency 'merb_global' Merb::Config.use { |c| c[:environment] = 'production', c[:framework] = {}, c[:log_level] = 'debug', c[:use_mutex] = false, c[:session_store] = 'cookie', c[:session_id_key] = '_session_id', c[:session_secret_key] = '779c710d6a7b90faf17cba97c156fc133a9884c9', c[:exception_details] = true, c[:reload_classes] = true, c[:reload_time] = 0.5 }
Version data entries
15 entries across 15 versions & 3 rubygems