use method db instead of DB constant in release.rb