Hi all,
Will always return true and erase the entire array
<% users.delete_if do |user| %>
<% false %>
<% end %>
On the other hand
<%
users.delete_if do |user|
false
end
%>
works and does not delete the array.
Can i somehow use the delete_if statement in my view and still be able to insert html?
Thanks