Resolved by creating under /lib a validations_helpers.rb file with the module statement.
module ActiveModel::Validations::HelperMethods
def validates_soggetti(*attr_names)
validates_with SoggettiValidator, _merge_attributes(attr_names)
end
end
and calling the module in relevant controllers.
also the model needs to specify the rails3 way:
validates :height, :presence => true, :numericality => true
validates :width, :presence => true, :numericality => true
validates :quantita, :presence => true, :numericality => {:only_integer => true}
validates :soggetti, :soggetti => true, :numericality => {:only_integer => true}
which is slightly different from the instructions on https://github.com/bcardarella/client_side_validations which suggests validates_myCustomValidation