Database fix
Updated application.rb