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.

Dominique Brezinski's latest activity

Monday, July 19 2010
5155 atomic_write is not completely atomic was created in Ruby on Rails
  • Dominique Brezinski
    Dominique Brezinski created the ticket at 11:22 PM

    In activesupport/lib/active_support/core_ext/file/atomic.rb, the chown and chmod should be done on temp_file before the mv, otherwise the file metadata will be ...

Friday, June 19 2009
2460 Calling empty? on a named_scope with :select => "distinct table_name.*" throw... was updated in Ruby on Rails
  • Dominique Brezinski
    Dominique Brezinski commented at 6:25 PM

    Are you using the DISTINCT with select because you are also using :joins and it returns dup records?

    If so, use :include instead for the associations you are do...

Monday, March 23 2009
2315 ActionView::Template extension processing bug was created in Ruby on Rails
  • Dominique Brezinski
    Dominique Brezinski created the ticket at 6:24 PM

    The simple case of the bug is that templates with file names of *.erb.* take precedence over *.erb. I found this issue by applying a a diff with patch, and the ...

2200 reset_session broken was updated in Ruby on Rails
  • Dominique Brezinski
    Dominique Brezinski commented at 5:59 PM

    Fjan, I guess I don't understand why just doing session.clear does not solve your problem? I believe your case is a feature request versus a solution to or an a...

  • Dominique Brezinski
    Dominique Brezinski commented at 2:12 PM

    All session fixation preventions rely on the semantics of reset_session creating a new session id. Changing the default semantics would cause most rails apps to...

Friday, March 20 2009
2200 reset_session broken was updated in Ruby on Rails
  • Dominique Brezinski
    Dominique Brezinski commented at 12:14 AM

    I realized further info would be helpful. The reason removing 'rack.session.record' fixes the issue is because set_session in ActiveRecord::SessionStore::Sessio...

Thursday, March 19 2009
2200 reset_session broken was updated in Ruby on Rails
  • Dominique Brezinski
    Dominique Brezinski commented at 11:46 PM

    If you are using ActiveRecord::SessionStore::Session (only thing I have tested it with), removing the key 'rack.session.record' from @env appears to fix the iss...