diff options
-rw-r--r-- | actionpack/lib/action_controller/metal/helpers.rb | 2 | ||||
-rw-r--r-- | guides/source/debugging_rails_applications.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/helpers.rb b/actionpack/lib/action_controller/metal/helpers.rb index 819837e767..4038101fe0 100644 --- a/actionpack/lib/action_controller/metal/helpers.rb +++ b/actionpack/lib/action_controller/metal/helpers.rb @@ -93,7 +93,7 @@ module ActionController 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 9cb2efb9a2..a9715fb837 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 |