I am looking to pass a value to a custom validation. I have done the following as a test:
validate :print_out, :parameter1 => \'Hello\'
With this
You could try
validate do |object_name| object_name.print_out "Hello" end
Instead of your validate :print_out, :parameter1 => 'Hello'.