Skip to content
  • Carlos Antonio da Silva's avatar
    709fbd3f
    Fix failing test related to escaping include_blank in select_tag · 709fbd3f
    Carlos Antonio da Silva authored
    Rails 3.0.x doesn't have the :prompt option in select_tag, it was
    introduced in c5d54be7 that is only
    available from 3.1.x on.
    
    The test and related fix were introduced in
    c9795871 for Rails 3.0.17, as a fix for
    a security vulnerability. The code is completely fine but the test was
    using the invalid :prompt option for this version, probably because it
    was cherry-picked from other branch which has the option.
    709fbd3f
    Fix failing test related to escaping include_blank in select_tag
    Carlos Antonio da Silva authored
    Rails 3.0.x doesn't have the :prompt option in select_tag, it was
    introduced in c5d54be7 that is only
    available from 3.1.x on.
    
    The test and related fix were introduced in
    c9795871 for Rails 3.0.17, as a fix for
    a security vulnerability. The code is completely fine but the test was
    using the invalid :prompt option for this version, probably because it
    was cherry-picked from other branch which has the option.
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading