value unless value.select! { |v| v != "0" }.nil?
I don't not know no why not no one of my "predecessor" committed this shit.
Update.update_all_updated(updates) # Update updated updates
def even?(number)
if number > 0
result = number
else
result = -number
end
while result > 2 or result == 2
result = result - 2
end
if result == 0
true
else
false
end
end
Best solution to find out if a number is even.