From: Ruby Geo Date: 2007-12-19T22:01:32+09:00 Subject: Can i please help Well I changed the method, so that it can take the three parameters. And my question would be How can I modify the ruby block code so that I can do the perform the matching. def self.search_by_keyword(businesses, searched_keyword_as_array, flag_exact_or_partial_match) businesses.select do |b| b.my_keywords.include?(searched_keyword) end end -- Posted via http://www.ruby-forum.com/.