By using a random seed value smaller than 1, we solve the previous situation[1] in a simpler way This test is now obsolete. It’s hard to write a tests to verify that even with a big seed in params, we will covert it to a float smaller than 1. We should refactor these `set_random_seed` methods into a nice model or controller concern and test it thoroughly [1] https://github.com/AyuntamientoMadrid/consul/commit/ba3bf11526fc6ce9c66f 647c414946c61ff945fe