Because he's based in California, he can sign a contract to early money in high school. He likely signed a deal with Ruiz that had contingencies that Ruiz could enforce if he chose or not if he chose not to, but they couldn't be conditional on him going to Miami, otherwise it's inducement which is illegal. So Ruiz is likely out whatever one-time upfront payment as well as any monthly payments that he made between commitment and decommitment but now he can enforce the contingencies to put Rashada in breach of contract (ie. monthly autograph signings outside the Miami stadium, meet and greet with Miami boosters, instagram posts about Miami or whatever else he wanted.. basically things that don't directly say 'i have to go to miami' but would be weird and difficult if you didnt). The other option could be Ruiz keeps making the payments but represents him at Florida to try and recoup the money and ideal earn more (ie. autograph signings in Gainesville etc). He won't do that but he theoretically could.
So basically, Ruiz got screwed out of some portion of his money, but not the totality.