add messages for has_many / has_one with dependent: :restrict_with_error
Merge pull request #333 from kuboon/rails-4-x

add messages for has_many / has_one with dependent: :restrict_with_error