Fixnum problem

Sir can i know what is the meaning of the phrase ‘comparison of Fixnum
with nil failed’

I want to pass two parameters to a method in a model file…
bt wen i pass an integer then it gives the above error…
Please help…