database.rb: updated methods
Merge branch 'master' of https://github.com/tannner/RubyC4