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 --- activesupport/lib/active_support/core_ext/array/conversions.rb | 2 +- activesupport/test/multibyte_handler_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/core_ext/array/conversions.rb b/activesupport/lib/active_support/core_ext/array/conversions.rb index 8f72294838..2c84329178 100644 --- a/activesupport/lib/active_support/core_ext/array/conversions.rb +++ b/activesupport/lib/active_support/core_ext/array/conversions.rb @@ -4,7 +4,7 @@ module ActiveSupport #:nodoc: module CoreExtensions #:nodoc: module Array #:nodoc: module Conversions - # Converts the array to comma-seperated sentence where the last element is joined by the connector word. Options: + # Converts the array to a comma-separated sentence where the last element is joined by the connector word. Options: # * :connector - The word used to join the last element in arrays with two or more elements (default: "and") # * :skip_last_comma - Set to true to return "a, b and c" instead of "a, b, and c". def to_sentence(options = {}) diff --git a/activesupport/test/multibyte_handler_test.rb b/activesupport/test/multibyte_handler_test.rb index 77b125641d..3384a1a0d4 100644 --- a/activesupport/test/multibyte_handler_test.rb +++ b/activesupport/test/multibyte_handler_test.rb @@ -69,7 +69,7 @@ module UTF8HandlingTest assert_raise(ActiveSupport::Multibyte::Handlers::EncodingError) { @handler.normalize(@bytestring) } end - # Test for the Public Review Issue #29, bad explaination of composition might lead to a + # Test for the Public Review Issue #29, bad explanation of composition might lead to a # bad implementation: http://www.unicode.org/review/pr-29.html def test_normalization_C_pri_29 [ -- cgit v1.2.3