aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/renderer/partial_renderer.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-11-25 06:56:05 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-11-25 06:56:05 +0900
commitd99b3848bb83e147674465a82af1c2dfcc27b9cc (patch)
tree0a5bf36b14b70e4e37dd8c45a61aecbdbb6e0ef9 /actionview/lib/action_view/renderer/partial_renderer.rb
parent1b795f5f0ba01ea0a5c3b9063059ad90ead41b13 (diff)
downloadrails-d99b3848bb83e147674465a82af1c2dfcc27b9cc.tar.gz
rails-d99b3848bb83e147674465a82af1c2dfcc27b9cc.tar.bz2
rails-d99b3848bb83e147674465a82af1c2dfcc27b9cc.zip
Fix `require_dependency` message format
`depend_on` message format is `"No such file to load -- %s.rb"`. But `require_dependency` message is missing `.rb` suffix. ``` % git grep -n 'No such file to load' actionview/test/actionpack/abstract/helper_test.rb:112: assert_equal "No such file to load -- very_invalid_file_name.rb", e.message activesupport/lib/active_support/dependencies.rb:245: def require_dependency(file_name, message = "No such file to load -- %s.rb") activesupport/lib/active_support/dependencies.rb:333: def depend_on(file_name, message = "No such file to load -- %s.rb") ```
Diffstat (limited to 'actionview/lib/action_view/renderer/partial_renderer.rb')
0 files changed, 0 insertions, 0 deletions