Is possible set 2 methods on before_validation in a model?
before_validation :elaborate
before_validation :download_remote_data, :if => :data_url_provided? 
                Yes, your code is fine. Just have in mind that elaborate method is going to be executed first (since it's registered before the download_remote_data method).
That is certainly valid.  You can add as many before_validation calls as you need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With