obviously, follow code is not working
<% if !@group.users.find(session[:user].id) %> <%= link_to "Join This Group", :action => "join", :id => @group %> <% end %>
“find” always throw an exception. I want to display the link of “find”
fails, what is the right way to do this?