put back no_database test and changed Rails 3 app to Rails app