Sha256: 8f15d2eb9b15abe921c4cd52e2454ac371664b4515cc788e519073deedbea318
Contents?: true
Size: 403 Bytes
Versions: 3
Compression:
Stored size: 403 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 => 'xxx', :database => 'merb' ) ActiveRecord::Base.verification_timeout = 14400 Dir[DIST_ROOT+"/app/models/*.rb"].each { |m| require m }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
merb-0.0.6 | examples/app_skeleton/dist/conf/merb_init.rb |
merb-0.0.7 | examples/app_skeleton/dist/conf/merb_init.rb |
merb-0.0.8 | examples/app_skeleton/dist/conf/merb_init.rb |