It would be useful to add the respond_to? check here too, just in case an engine later has a similar issue.