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.

Aupajo's latest activity

Monday, April 12 2010
4334 to_param and <resource>_path() escapes forward slashes was updated in Ruby on Rails
  • Aupajo
    Aupajo commented at 1:01 PM

    garret,

    Could you use match "/areas/*locales" => "areas#show" in your routes? That value should then be accessible through params[:locales]. At least, according...

Monday, March 09 2009
1641 truncate with HTML ellipsis character entity was updated in Ruby on Rails
  • Aupajo
    Aupajo commented at 3:20 AM

    A trade-off might be to increase the default :length by 5 characters.

    Another solution would be to treat length as the encoded character length, and treat &etc;...

Saturday, December 27 2008
1641 truncate with HTML ellipsis character entity was created in Ruby on Rails
  • Aupajo
    Aupajo created the ticket at 2:24 AM

    I found myself changing the default from project to project, so here's my patch for it.

    This sets truncate's default :omission from three dots (...) to the "pro...