diff --git a/actionpack/lib/action_controller/metal/helpers.rb b/actionpack/lib/action_controller/metal/helpers.rb index 819837e767155161d8b447f506663783c5937dca..4038101fe066253feed0417795f50c2b27a5b56c 100644 --- a/actionpack/lib/action_controller/metal/helpers.rb +++ b/actionpack/lib/action_controller/metal/helpers.rb @@ -93,7 +93,7 @@ def modules_for_helpers(args) super(args) end - # Return a list of helper names in specific path. + # Returns a list of helper names in a given path. # # ActionController::Base.all_helpers_from_path 'app/helpers' # # => ["application", "chart", "rubygems"] diff --git a/guides/source/debugging_rails_applications.md b/guides/source/debugging_rails_applications.md index 9cb2efb9a24aaba59b2300a8428cd3d53a16c734..a9715fb83738de2a24c122ea6dd55409cff6e78c 100644 --- a/guides/source/debugging_rails_applications.md +++ b/guides/source/debugging_rails_applications.md @@ -815,7 +815,7 @@ calling the `console` method. For example, in a controller: ```ruby -class PostController < ApplicationController +class PostsController < ApplicationController def new console @post = Post.new