From: Maurice Gladwell Date: 2007-05-30T17:42:20+09:00 Subject: #respond_to? not working for dynamically generated methods It seems Object#respond_to doesn't work for dynamically generated methods: SomeRailsModel.respond_to? 'find_by_name' #=> false 1. Is there some way to *really* check if an object will respond to a message, even if it will respond by a dynamically generated method? Right now, Object#respond_to? just doesn't do what it name promises: it doesn't check if an object responds to a message :foo, only if the object has a :foo method defined. Thanks, Maurice B. Gladwell -- Posted via http://www.ruby-forum.com/.