Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
# Add your own ruby code here for app specific stuff. This file gets loaded # after the framework is loaded. puts "Started merb_init.rb ..." puts "Loading dependencies..." Gem.path.unshift(MERB_ROOT / "deps") # Uncomment for Sequel ORM # require "sequel" # require "merb_sequel" # Uncomment for ActiveRecord ORM # require "active_record" # require "merb_active_record" # Here's where your controllers, helpers, and models, etc. get loaded. If you # need to change the order of things, just move the call to 'load_application' # around this file. puts "Loading Application..." Merb::Server.load_application # Load environment-specific configuration require "#{MERB_ROOT}/config/environments/#{MERB_ENV}"
This paste will be private.
From the Design Piracy series on my blog: