Quoting manish belsare <[email protected]>:
> 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..

Sounds to me like you have nothing (nil) when you expect something
(perhaps the integer?). Does your method then try to do some sort of
comparison, for example:
  if myparam > 3

If myparam is nil for some reason, you might get that error. Try
logging your input just after you get into the method. You may also
want to log its class (e.g. myparam.class).
_______________________________________________
Engine-Users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to