aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-05-15 22:23:40 +0200
committerXavier Noria <fxn@hashref.com>2011-05-15 22:23:40 +0200
commitdde82a44d702f8416905476bbea5842157d6a508 (patch)
treea568cffc0771407febf7867564853efa481c4764 /actionpack
parent34482882285070391bca6083279702280572ee44 (diff)
parent6bd99ecb629807fe940e9f8a2e67d1fb51c800ea (diff)
downloadrails-dde82a44d702f8416905476bbea5842157d6a508.tar.gz
rails-dde82a44d702f8416905476bbea5842157d6a508.tar.bz2
rails-dde82a44d702f8416905476bbea5842157d6a508.zip
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/date_helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb
index 853ab061d2..c78c03a5eb 100644
--- a/actionpack/lib/action_view/helpers/date_helper.rb
+++ b/actionpack/lib/action_view/helpers/date_helper.rb
@@ -841,14 +841,14 @@ module ActionView
# Build select option html from date value and options.
# build_options(15, :start => 1, :end => 31)
# => "<option value="1">1</option>
- # <option value=\"2\">2</option>
- # <option value=\"3\">3</option>..."
+ # <option value="2">2</option>
+ # <option value="3">3</option>..."
#
# If <tt>:step</tt> options is passed
# build_options(15, :start => 1, :end => 31, :step => 2)
# => "<option value="1">1</option>
- # <option value=\"3\">3</option>
- # <option value=\"5\">5</option>..."
+ # <option value="3">3</option>
+ # <option value="5">5</option>..."
def build_options(selected, options = {})
start = options.delete(:start) || 0
stop = options.delete(:end) || 59