Notes on Very Flat Apps:

  • to have the app reload itself while in development mode, add this to your file:
Merb.push_path(:application,  __FILE__)
  • to have the app reload itself only when the file is modified, try this:
Merb.push_path(:lib,  File.dirname(__FILE__), File.basename(__FILE__))
 
howto/very_flat.txt · Last modified: 2009/01/14 01:16 by dbalmain