Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Sam Saffron's latest activity

Monday, January 18 2010
3738 Breaking change in request.path_parameters was created in Ruby on Rails
  • Sam Saffron
    Sam Saffron created the ticket at 1:12 PM

    In rails 2.3.5 request.path_parameters goes from string to string eg: {"action" => "foo", "controller" => "bar"}

    In rails 3 request.path_parameters goes from sy...

3733 There is no way to have an unescaped html in a link title was updated in Ruby on Rails
  • Sam Saffron
    Sam Saffron commented at 7:38 AM

    Ok makes sense however there is an inconsistency with the implementation of url_for. Does it need that escape logic there ?

  • Sam Saffron
    Sam Saffron created the ticket at 3:20 AM

    Sometimes I use link_to to link an image.

    In rails 3 the name is always escaped:

    "<a #{href_attr}#{tag_options}>#{ERB::Util.h(name || url)}</a>".html_safe!
    

    Ca...

3734 form_for is resolving a plural instance for a singlar resource was created in Ruby on Rails
  • Sam Saffron
    Sam Saffron created the ticket at 4:17 AM

    I have this route

    map.namespace :admin do |m|
      m.resource :global
    end
    

    usage:

    form_for [:admin, Global.instance] do |f|
      ...
    

    In rails 2.3.5 this works fine...