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.

Mislav's latest activity

Saturday, February 28 2009
1523 auto_link should not linkify URLs in the middle of a tag was updated in Ruby on Rails
  • Mislav
    Mislav commented at 3:29 PM

    Good catch -- it definitely slipped my mind.

    I would only change the check like this:

    
    if left =~ /<[^>]+$/ && right =~ /^[^<]+>/
    

    Now the right regexp refle...

2099 polymorphic_path shouldn't modify options hash was created in Ruby on Rails
  • Mislav
    Mislav created the ticket at 3:17 PM

    Currently it's not possible to call first polymorphic_path and then polymorphic_url with the same options hash:

    
    options = { :format => 'xml' }
    polymorphic_p...
Friday, February 27 2009
1601 reset_session Doesn't Result In New Session Id Being Applied Via Set-Cookie was updated in Ruby on Rails
  • Mislav
    Mislav commented at 7:22 PM

    Confirmed. Yury's fix works

Thursday, February 26 2009
1585 action caching sets wrong content-type when :cache_path is a string was updated in Ruby on Rails
  • Mislav
    Mislav commented at 1:04 PM

    Aw damn, I've been cleaning up my gists and deleted the patch because I thought it was applied. If anyone needs it back, shout now. I was pretty sure this was f...

Sunday, February 15 2009
1785 Empty file uploads should not come through as empty Tempfiles was updated in Ruby on Rails
  • Mislav
    Mislav commented at 11:46 AM

    I didn't experience it anymore after the fix.

    The best bet is to test this in your browser: submit a form with empty file field and inspect the parameters you'v...

Thursday, February 05 2009
1840 Scaffolding Cleanup was updated in Ruby on Rails
  • Mislav
    Mislav commented at 10:08 PM

    Uh ... why the #2?

Monday, February 02 2009
1844 Render behaviour problem was updated in Ruby on Rails
  • Mislav
    • Assigned user set to josh
    by Mislav at 5:33 PM

    Sorry for clearing the assignee, I had this comment form open from before DHH posted his update.

  • Mislav
    • Assigned user cleared.
    by Mislav at 5:31 PM

    I can confirm that a blank Rails app on edge wraps JS templates in application.html.erb layout -- definitely not what one would expect.

Tuesday, January 27 2009
1803 Detached Mongrel server renders no layout was created in Ruby on Rails
  • Mislav
    Mislav created the ticket at 12:25 PM

    Detached Mongrel server cannot seem to find an implicit layout and therefore renders actions without a layout.

    This is a regression from commit 858a420c.

    I narr...

Tuesday, January 20 2009
1785 Empty file uploads should not come through as empty Tempfiles was updated in Ruby on Rails
  • Mislav
    Mislav commented at 10:54 PM

    Xavier, would you say that this is a better test for when a file was not uploaded?

    
    if value.has_key?(:tempfile) and
      not (value[:tempfile].size == 0 and va...