Sha256: bb2505af490e1addbed1ffa05ad6adb73f39183e8218996b80f2cfade3eb87b3

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 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/models/*.rb"].each { |m| require m } 

Version data entries

1 entries across 1 versions & 1 rubygems

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