提交 29aa20da 编写于 作者: A Aaron Patterson

Merge pull request #4637 from railsaholic/error_message_fix

quote fix ` to ' in the ArgumentError message
......@@ -63,7 +63,7 @@ def instantiate_observers
# raises an +ArgumentError+ exception.
def add_observer(observer)
unless observer.respond_to? :update
raise ArgumentError, "observer needs to respond to `update'"
raise ArgumentError, "observer needs to respond to 'update'"
end
observer_instances << observer
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册