Upgrade to ActiveRecord 4.0 and sinatra-activerecord 1.4, which can replace the database tasks in bengler_test_helper. This also means using schema.rb instead of development_structure.sql.
Fix Post#visible_to? and Post#with_restrictions to check that identity is god in the correct realm.
Upgrade to ActiveRecord 4.1.4. Fixes deprecations and scoping problems.
Fix lack of 'distinct' causing /posts/:uid to return duplicate results.
Fix Rakefile with respect to sinatra-activerecord: remove some old tasks, register Sinatra::ActiveRecordExtension, don't automatically require sinatra-contrib.
Set description for db:test:prepare so CI server will find it.