I have a max of 120 energy and it only takes 100 rubies to refill my energy, so the 1 ruby = 1 energy doesnt seem to be right.

that being said, the best time to use rubies would still be on the last day since this is the case.