From 2af36bbbd4c5a9967e5f3b4263100ef793aee4d7 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 5 Dec 2007 18:54:41 +0000 Subject: Fix typos (closes #10378) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/initializer.rb | 4 ++-- railties/lib/rails/plugin/loader.rb | 2 +- railties/test/generators/generator_test_helper.rb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'railties') diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index ab6549164c..4b522e2920 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -176,7 +176,7 @@ module Rails # # In the default implementation, as each plugin discovered in plugin_paths is initialized: # * its +lib+ directory, if present, is added to the load path (immediately after the applications lib directory) - # * init.rb is evalutated, if present + # * init.rb is evaluated, if present # # After all plugins are loaded, duplicates are removed from the load path. # If an array of plugin names is specified in config.plugins, only those plugins will be loaded @@ -217,7 +217,7 @@ module Rails end end - # This initialzation sets $KCODE to 'u' to enable the multibyte safe operations. + # This initialization sets $KCODE to 'u' to enable the multibyte safe operations. # Plugin authors supporting other encodings should override this behaviour and # set the relevant +default_charset+ on ActionController::Base def initialize_encoding diff --git a/railties/lib/rails/plugin/loader.rb b/railties/lib/rails/plugin/loader.rb index dcc62d50b6..438afa4d32 100644 --- a/railties/lib/rails/plugin/loader.rb +++ b/railties/lib/rails/plugin/loader.rb @@ -10,7 +10,7 @@ module Rails # all plugins, and adds all plugin load paths, when it is created. The plugins # are then fully loaded (init.rb is evaluated) when load_plugins is called. # - # It is the loader's responsibilty to ensure that only the plugins specified + # It is the loader's responsibility to ensure that only the plugins specified # in the configuration are actually loaded, and that the order defined # is respected. def initialize(initializer) diff --git a/railties/test/generators/generator_test_helper.rb b/railties/test/generators/generator_test_helper.rb index be23f5c6eb..63780b3dfb 100644 --- a/railties/test/generators/generator_test_helper.rb +++ b/railties/test/generators/generator_test_helper.rb @@ -1,5 +1,5 @@ module GeneratorTestHelper - # Instatiates the Generator + # Instantiates the Generator def build_generator(name,params) Rails::Generator::Base.instance(name,params) end -- cgit v1.2.3