Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

revised font of constants in Action View

  • Loading branch information...
commit 8174d91273d7e844787b6b2b138567ed787d4a56 1 parent 401690f
Xavier Noria fxn authored
4 actionpack/lib/action_view/helpers/form_options_helper.rb
View
@@ -119,7 +119,7 @@ def select(object, method, choices, options = {}, html_options = {})
# end
# end
#
- # Sample usage (selecting the associated +Author+ for an instance of +Post+, <tt>@post</tt>):
+ # Sample usage (selecting the associated Author for an instance of +Post+, <tt>@post</tt>):
# collection_select(:post, :author_id, Author.find(:all), :id, :name_with_initial, {:prompt => true})
#
# If <tt>@post.author_id</tt> is already <tt>1</tt>, this would return:
@@ -172,7 +172,7 @@ def time_zone_select(object, method, priority_zones = nil, options = {}, html_op
# Accepts a container (hash, array, enumerable, your type) and returns a string of option tags. Given a container
# where the elements respond to first and last (such as a two-element array), the "lasts" serve as option values and
# the "firsts" as option text. Hashes are turned into this form automatically, so the keys become "firsts" and values
- # become lasts. If +selected+ is specified, the matching "last" or element will get the selected option-tag. +Selected+
+ # become lasts. If +selected+ is specified, the matching "last" or element will get the selected option-tag. +selected+
# may also be an array of values to be selected when using a multiple select.
#
# Examples (call, result):
6 actionpack/lib/action_view/helpers/scriptaculous_helper.rb
View
@@ -202,9 +202,9 @@ def draggable_element_js(element_id, options = {}) #:nodoc:
# :onDrop => "function(draggable_element, droppable_element, event) { alert('I like bananas') }"
#
# This callback gets three parameters:
- # The +Draggable+ element, the +Droppable+ element and the
- # +Event+ object. You can extract additional information about the
- # drop - like if the Ctrl or Shift keys were pressed - from the +Event+ object.
+ # The Draggable element, the Droppable element and the
+ # Event object. You can extract additional information about the
+ # drop - like if the Ctrl or Shift keys were pressed - from the Event object.
#
# <tt>:with</tt>:: A JavaScript expression specifying the parameters for the XMLHttpRequest.
# Any expressions should return a valid URL query string.
Please sign in to comment.
Something went wrong with that request. Please try again.