search for: find_by_id_and_is_archived

Displaying 1 result from an estimated 1 matches for "find_by_id_and_is_archived".

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