Question: I have a question about how can I validate a required change at rails model.

for example:

to the param lock\_version we need the validate if this value always is present when tried to update the model.

has rails some validation to test the change presence?

Thanks

Answer: 
Is an issue quite old, but the solution that works only takes 1 line:
Put these before saving, on the column you need.

> 
> Columns("D:D").NumberFormat = "dd/mm/yyyy"
> 
> 
> 

It really worked for me.
Regards
Unfortunately VBA speaks "American" which means that as soon as you have VBA do a save as text it will use the US format for dates. The only way around this is to completely control the creation of the textfile in VBA. Luckily, you're not the first to encounter this, see: <http://dailydoseofexcel.com/archives/2004/11/09/roll-your-own-csv/>