myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3041] trunk/app/views/users/_listing.rhtml: Fix


From: noreply
Subject: [myexperiment-hackers] [3041] trunk/app/views/users/_listing.rhtml: Fix for over eager caching.
Date: Wed, 11 Jul 2012 13:56:30 +0000 (UTC)

Revision
3041
Author
dtm
Date
2012-07-11 13:56:30 +0000 (Wed, 11 Jul 2012)

Log Message

Fix for over eager caching. Will require a rake tmp:cache:clear.

Modified Paths

Diff

Modified: trunk/app/views/users/_listing.rhtml (3040 => 3041)


--- trunk/app/views/users/_listing.rhtml	2012-07-09 11:30:22 UTC (rev 3040)
+++ trunk/app/views/users/_listing.rhtml	2012-07-11 13:56:30 UTC (rev 3041)
@@ -1,4 +1,3 @@
-<% cache(:controller => 'users_cache', :action ="" 'listing', :id => user.id) do -%>
   <td style="width: 100px"><div style="text-align: center; font-weight: bold">Member</div><br /><br /><center><%= contributor(user.id, 'User', true, 60) %></center></td>
   <td class="mid" style="text-align: left;">
 
@@ -9,6 +8,7 @@
       <%= admin_badge(user) %>
     </p>
           
+<% cache(:controller => 'users_cache', :action ="" 'listing', :id => user.id) do -%>
     <% unless user.created_at.blank? %>
       <p style="font-size: 85%;">
         <b>Joined:</b>
@@ -65,8 +65,8 @@
       </p>
 
     <% end %>
+<% end %>
   </td>
-<% end %>
 
 <td class="actions"  style="width: 90px;">
   <%= icon "show", user_path(user.id), nil, nil, "View" %>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]