Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 5074

Show
Ignore:
Timestamp:
09/08/06 19:23:33 (4 years ago)
Author:
david
Message:

Since to_sing, we need to check for empty string

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_view/helpers/form_tag_helper.rb

    r5045 r5074  
    2828          when /^get$/i # must be case-insentive, but can't use downcase as might be nil 
    2929            html_options["method"] = "get" 
    30           when /^post$/i, nil 
     30          when /^post$/i, "", nil 
    3131            html_options["method"] = "post" 
    3232          else