So much to do...
requiring haml explicitly since auto-require is deprecated
config.ru for deployment
Playing around with html and json requests
There has to be a way to DRY this up...
Default Content-Type to text/html, json(body) helper sets to json
Content-Type header key set to 'text/json'
Merge branch 'sinatra_setup'
Only do auto_upgrade! magic when in dev environment
First pass at modeling core entities
- Web Logins
Added link to write up on simulating polymorphic assoc. in DataMapper
Moved requires to one line (is this cleaner??)
First pass at a simple Account model mixin, with DataMapper setup
Also, note that all content will be going out as utf-8
A placeholder config file for the database setup
Ignoring sqlite3 files
Basic sinatra app
Just includes sinatra (via RubyGems) to get to the default helper page