added deal and activity

unfixed UrlGenerationError
add update models
add modified schema.rb