Sha256: 203455c910c89eb04112eb526f5783d3f7ab028b06020bd3d902198df75123d5

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

puts "merb init called"

# add your own ruby code here for app initialization and load path stuff

require 'active_record'


ActiveRecord::Base.logger = MERB_LOGGER
ActiveRecord::Base.establish_connection(
  :adapter => 'mysql',
  :username => 'root',
  :password => 'reversal',
  :database => 'merb'
)
ActiveRecord::Base.verification_timeout = 14400

Dir[DIST_ROOT+"/app/**/*.rb"].each { |m| require m } 
Dir[DIST_ROOT+"/plugins/*/init.rb"].each { |m| require m } 

module Merb
  class ViewContext
    include Merb::GlobalHelper
  end
end  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
merb-0.0.8 examples/sample_app/dist/conf/merb_init.rb