diff --git a/Gemfile b/Gemfile
index 400cdab3..f5d88fb4 100644
--- a/Gemfile
+++ b/Gemfile
@@ -85,7 +85,7 @@ if File.exist?(database_file)
adapters.each do |adapter|
case adapter
when 'mysql2'
- gem "mysql2", "~> 0.3.11", :platforms => [:mri, :mingw]
+ gem "mysql2", "= 0.3.11", :platforms => [:mri, :mingw]
gem "activerecord-jdbcmysql-adapter", :platforms => :jruby
when 'mysql'
gem "mysql", "~> 2.8.1", :platforms => [:mri, :mingw]
diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb
index 79001a3f..16a4cbf2 100644
--- a/app/views/welcome/index.html.erb
+++ b/app/views/welcome/index.html.erb
@@ -54,7 +54,7 @@
<% projects = find_miracle_project(10, 3) %>
<% projects.map do |project| %>
- <% cache cache_key_for_project(project) do %>
+
-
<%= image_tag(get_project_avatar(project), :class => "avatar-4") %>
@@ -75,7 +75,7 @@
:id => "tooltip-#{project.id}" %>
- <% end %>
+
<% end; reset_cycle %>
@@ -88,7 +88,7 @@
<%activities = find_all_activities%>
<% activities.each do |event| %>
- <% cache cache_key_for_event(event) do %>
+
<%= image_tag url_to_avatar(event.event_author), :class => "avatar-3" %>
@@ -99,7 +99,7 @@
<%= l(:field_updated_on) %><%= time_tag_welcome event.event_datetime %>前 <%= show_event_reply event %>
- <% end %>
+
<% end %>
@@ -107,7 +107,7 @@
- <% cache 'forum_links' do %>
+
贴吧动态
@@ -115,11 +115,11 @@
<%= link_to "我要反馈" , suggestion_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%>
<%= link_to "更多>>", forums_path %>
- <% end %>
+
<% topics = find_new_forum_topics(7) %>
<% topics.includes(:forum, :last_reply, :author).each do |topic|%>
- <% cache cache_key_for_topic(topic) do %>
+
-
<%= link_to '['+topic.forum.name + ']',forum_path(topic.forum),:class => 'memo_Bar_title' %><%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url,title: topic.subject %>
@@ -139,7 +139,7 @@
- <% end %>
+
<% end %>