Hi currently i am have a app that checks the cheapest price between
if model.attribute1 < model.attribute 2
result = model.attribute 1
if model .....
result = model. att2
if model att3 <
is there any easier method to do this??
the attributes have different names so i don't know use a loop and
change the attribute via a counter.