revert userscore catch exception, added cache to footer.

This commit is contained in:
yanxd 2014-06-12 16:19:46 +08:00
parent 8075645591
commit 858a7936b5
2 changed files with 5 additions and 2 deletions

View File

@ -122,8 +122,8 @@ class UserScore < ActiveRecord::Base
Rails.logger.error "[UserScore#influence] ===> #{operate} is not define."
return false
end
#rescue => e
#Rails.logger.error "[UserScore#influence] ===> Exception: #{e}."
rescue => e
Rails.logger.error "[UserScore#influence] ===> Exception: #{e}."
end
# 前略·技术得分

View File

@ -1,4 +1,5 @@
<!--add by huang-->
<% cache "footer" do %>
<div class="clearfix"></div>
<div id="footer" style="margin-left:-5px;padding-top: 20px;clear: both;font-size: 12px;">
<div style="border-top:solid 1px #C6E9F1;"></div>
@ -44,3 +45,5 @@
</script>
</div>
<% end %>