fixes deprecation warning relate to  raise_in_transactional_callbacks
fixes deprecation warning relate to  raise_in_transactional_callbacks

As described in
http://edgeguides.rubyonrails.org/5_0_release_notes.html#active-record-notable-changes

AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul