fix postgres error in notes controller
more readable spec
fix more postgres errors
update syntax in Gemfile
replaced gem memcache-client with gem dalli and changed Production.rb to use memcachedcloud on Heroku
fix scopes for postgresql in activity model
add guard to automate tests
use find_by instead where