diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-12-05 18:54:41 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-12-05 18:54:41 +0000 |
commit | 2af36bbbd4c5a9967e5f3b4263100ef793aee4d7 (patch) | |
tree | 5e51f90362bac00dca11de025bdc7a229e4f6f59 /railties | |
parent | c27b9db39fd1d86448572c06df2bd097debbfe10 (diff) | |
download | rails-2af36bbbd4c5a9967e5f3b4263100ef793aee4d7.tar.gz rails-2af36bbbd4c5a9967e5f3b4263100ef793aee4d7.tar.bz2 rails-2af36bbbd4c5a9967e5f3b4263100ef793aee4d7.zip |
Fix typos (closes #10378)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/initializer.rb | 4 | ||||
-rw-r--r-- | railties/lib/rails/plugin/loader.rb | 2 | ||||
-rw-r--r-- | railties/test/generators/generator_test_helper.rb | 2 |
3 files changed, 4 insertions, 4 deletions
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 <tt>plugin_paths</tt> is initialized: # * its +lib+ directory, if present, is added to the load path (immediately after the applications lib directory) - # * <tt>init.rb</tt> is evalutated, if present + # * <tt>init.rb</tt> 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 |