RuddockHouse/RuddockWebsite — pull request #56 by dkong1796 (2014-09-24 08:44:32+00:00)
Title: Fixed database connection bug

- Connect to database before each request instead of maintaining an
open connection
- Store connection in g object, which is available in the request
context
- Updated functions to use g.db instead of taking a connection object