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 /actionpack/lib/action_view | |
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 'actionpack/lib/action_view')
4 files changed, 7 insertions, 7 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index da8ebb06dd..90e511dcc0 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -356,7 +356,7 @@ module ActionView # # ==== Options # You can add HTML attributes using the +options+. The +options+ supports - # three additional keys for convienence and conformance: + # three additional keys for convenience and conformance: # # * <tt>:alt</tt> - If no alt text is given, the file name part of the # +source+ is used (capitalized and without the extension) diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb index 97b77bd165..734156b474 100755 --- a/actionpack/lib/action_view/helpers/date_helper.rb +++ b/actionpack/lib/action_view/helpers/date_helper.rb @@ -213,7 +213,7 @@ module ActionView # Returns a set of html select-tags (one for year, month, day, hour, and minute) pre-selected with the +datetime+. # It's also possible to explicitly set the order of the tags using the <tt>:order</tt> option with an array of # symbols <tt>:year</tt>, <tt>:month</tt> and <tt>:day</tt> in the desired order. If you do not supply a Symbol, it - # will be appened onto the <tt>:order</tt> passed in. You can also add <tt>:date_separator</tt> and <tt>:time_separator</tt> + # will be appended onto the <tt>:order</tt> passed in. You can also add <tt>:date_separator</tt> and <tt>:time_separator</tt> # keys to the +options+ to control visual display of the elements. # # ==== Examples @@ -226,7 +226,7 @@ module ActionView # select_datetime() # # # Generates a datetime select that defaults to the datetime in my_date_time (four days after today) - # # with the fields ordered year, month, day rather then month, day, year. + # # with the fields ordered year, month, day rather than month, day, year. # select_datetime(my_date_time, :order => [:year, :month, :day]) # # # Generates a datetime select that defaults to the datetime in my_date_time (four days after today) @@ -249,7 +249,7 @@ module ActionView # Returns a set of html select-tags (one for year, month, and day) pre-selected with the +date+. # It's possible to explicitly set the order of the tags using the <tt>:order</tt> option with an array of # symbols <tt>:year</tt>, <tt>:month</tt> and <tt>:day</tt> in the desired order. If you do not supply a Symbol, it - # will be appened onto the <tt>:order</tt> passed in. + # will be appended onto the <tt>:order</tt> passed in. # # ==== Examples # my_date = Time.today + 6.days @@ -261,7 +261,7 @@ module ActionView # select_date() # # # Generates a date select that defaults to the date in my_date (six days after today) - # # with the fields ordered year, month, day rather then month, day, year. + # # with the fields ordered year, month, day rather than month, day, year. # select_date(my_date, :order => [:year, :month, :day]) # # # Generates a date select that discards the type of the field and defaults to the date in diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb index 0b76f1a48f..8ea5d20ed6 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -21,7 +21,7 @@ module ActionView # number_to_phone(1235551234, :area_code => true, :extension => 555) # => (123) 555-1234 x 555 # number_to_phone(1235551234, :country_code => 1) # => +1-123-555-1234 # - # number_to_phone(1235551234, :country_code => 1, :extension => 1343, :delimeter => ".") + # number_to_phone(1235551234, :country_code => 1, :extension => 1343, :delimiter => ".") # => +1.123.555.1234 x 1343 def number_to_phone(number, options = {}) number = number.to_s.strip unless number.nil? diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index ddd09de352..eb3391180e 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -331,7 +331,7 @@ module ActionView # also used as the name of the link unless +name+ is specified. Additional # HTML attributes for the link can be passed in +html_options+. # - # mail_to has several methods for hindering email harvestors and customizing + # mail_to has several methods for hindering email harvesters and customizing # the email itself by passing special keys to +html_options+. # # ==== Options |