rails/rails — pull request #10787 by kuboon (2013-05-29 18:58:06+00:00)
Title: fix :restrict_with_error message

Suppose ```User has_many :posts```, klass on this context is Post, not User.
We should call ```human_attribute_name``` with the owner.