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.

Hongli Lai's latest activity

Monday, May 25 2009
2714 Failsafe middleware doesn't render 500.html as ERB was created in Ruby on Rails
  • Hongli Lai
    Hongli Lai created the ticket at 4:40 PM

    500.html is actually an ERB template: it instructs the reader to read the appropriate log file to find out what went wrong, in case he's the administrator. This...

Sunday, May 24 2009
2690 #to_json not working because always being called on Object was updated in Ruby on Rails
  • Hongli Lai
    Hongli Lai commented at 10:47 AM

    Caio Chassot's patch does not seem to correctly pass arguments to #rails_to_json. This patch should fix the problem.

Sunday, April 26 2009
2564 AC::Request#content_type should return a string was updated in Ruby on Rails
  • Hongli Lai
    Hongli Lai commented at 10:15 AM

    These 2 patches fix the problem. Created against the 2-3-stable branch.

Tuesday, March 24 2009
1925 Mysql::Error: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT... was updated in Ruby on Rails
Monday, March 16 2009
1946 Setting a relative root URL via a web server not possible anymore was updated in Ruby on Rails
  • Hongli Lai
    Hongli Lai commented at 1:56 PM

    Yeah, it's to support thread-safety. I consider this to be a Phusion Passenger issue, not a Rails issue.

Monday, February 09 2009
1897 Rails 2.2 auto source code reloading broken when using config.threadsafe! was updated in Ruby on Rails
  • Hongli Lai
    Hongli Lai commented at 8:37 PM

    But you have a point: if it cannot be supported, Rails should at least output a warning when one tries to do both. It should also be documented.

  • Hongli Lai
    Hongli Lai commented at 8:36 PM

    Joseph Chen, it is not implemented because it cannot be implemented. Thread-safety is fundamentally incompatible with class reloading. Asking for a thread-safe ...

Tuesday, January 13 2009
1748 PostgreSQL adapter and tests incorrectly detect 'postgres' driver was updated in Ruby on Rails
  • Hongli Lai
    Hongli Lai commented at 3:38 PM

    Doh. This one should be okay.

  • Hongli Lai
    Hongli Lai created the ticket at 3:06 PM

    The 'pg' driver supports inspecting the transaction status, but the old 'postgres' driver does not. ActiveRecord's code for detecting whether we're using 'pg' o...

Monday, December 15 2008
1578 send_file(..., :xsendfile => true) sets ETag though it shouldn't was updated in Ruby on Rails