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

Version Path
lastobelus-merb_global-0.0.10 examples/active_record_example/config/init.rb
lastobelus-merb_global-0.0.11 examples/active_record_example/config/init.rb
lastobelus-merb_global-0.0.12 examples/active_record_example/config/init.rb
lastobelus-merb_global-0.0.13 examples/active_record_example/config/init.rb
lastobelus-merb_global-0.0.14 examples/active_record_example/config/init.rb
lastobelus-merb_global-0.0.8 examples/active_record_example/config/init.rb
lastobelus-merb_global-0.0.9 examples/active_record_example/config/init.rb
emipair-merb_global-0.0.12 examples/active_record_example/config/init.rb
emipair-merb_global-0.0.11 examples/active_record_example/config/init.rb
emipair-merb_global-0.0.10 examples/active_record_example/config/init.rb
emipair-merb_global-0.0.9 examples/active_record_example/config/init.rb
emipair-merb_global-0.0.3 examples/active_record_example/config/init.rb
emipair-merb_global-0.0.2 examples/active_record_example/config/init.rb
emipair-merb_global-0.0.1 examples/active_record_example/config/init.rb
merb_global-0.0.7 examples/active_record_example/config/init.rb