From: Varun Goel Date: 2008-05-15T00:33:37+09:00 Subject: string as optional parameter for method? Hi All, I have one method like def hello(int,string) Now i want that if user pass int value or string value then it should search on the basis of one of those. means i want both as optional parameter. Please tell me how to do this in ROR. Thanks Varun -- Posted via http://www.ruby-forum.com/.