public
Description: The source code for a tutorial of Ramaze
Homepage: http://blog.purepistos.net/index.php/2008/11/18/ramaze-by-example/
Clone URL: git://github.com/Pistos/ramaze-todolist-tutorial.git
100644 11 lines (7 sloc) 0.197 kb
1
2
3
4
5
6
7
8
9
10
11
require 'rubygems'
require 'ramaze'
require 'm4dbi'
 
$db = DBI.connect( 'DBI:Pg:todolist', 'todolist', '' )
 
acquire 'src/model/*'
acquire 'src/*'
 
Ramaze.start :port => 9001, :adapter => :mongrel