bithive/openstreetmap-website — comment on commit fca86089f4f27de208add646e0d1344892310d7b
File:  line 0
By tomhughes:

I wonder if we should just use `public_method_defined?` instead though that would include superclasses - not sure why Andy was trying to exclude them.

Actually I'm not really sure why that if is there at all - it can only have been to be portable across multiple rails versions, which is a nonsensical concept. Either the version of rails we are using has those routines, or it doesn't...