I am attempting to do some custom validation on my object.
Here is my validate method:
puts "Do I have the target_list_ids method? " +
if target_list_ids.nil? || target_list_ids.length == 0 errors.add_to_base("blah") end puts "Do I have the Fax method? " +
and here is the output:
Do I have the target_list_ids method? true
Do I have the Fax method? true
uninitialized constant Fax
So as you can see, I am calling the target_list_ids method without
incident but can’t seem to call the Fax method, which I just showed as
Can anyone explain to me why my “Fax” method can’t be called in the same
way that my “target_list_ids” method can?
I’ll be reading the validate method.
I love this API where I get to read every bit of source code - it really
enhances my productivity ;).