def sort
if params[:fact_id]
@fact = Fact.find_by_id(params[:fact_id]) || Fact.new
...
Ruby Ugly IF, ELSE
tmp = reply.case.users.map(&:email)
tmp.delete(reply.created_by.email)
tmp.join(',')
...
Ruby Remove element from array
by serek.openid.pl,
September 03, 2009 12:12,
3 refactorings, tagged with array, remove, remove element from array
I wanted to remove specific...
Trying to make this a lot c...