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.

Alex Le's latest activity

Friday, September 03 2010
5541 Autotest fail with Rails 3.0.0 and ruby 1.9.2p0 (2010-08-18 revision 29036) [... was created in Ruby on Rails
  • Alex Le
    Alex Le created the ticket at 7:42 AM

    Autotest was running correctly for my app with Rails 3.0.0 and ruby 1.8.7. I upgraded to 1.9.2p0 29036 using RVM and now autotest is no longer working. I'm not ...

Monday, August 02 2010
5242 ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away was updated in Ruby on Rails
  • Alex Le
    Alex Le commented at 6:18 PM

    Jess, check_for_valid_coupon is a utility method in the controller to help me check for a valid coupon before letting user proceed with the registration (Marril...

  • Alex Le
    Alex Le commented at 5:46 PM

    @Jeff,

    My Rails app is pretty standard so I'm not sure what code I should provide. So far the issue occurs when we have a long running app (maybe after a few ho...

Friday, July 30 2010
5254 Rails 3RC's ActiveModel#as_json outputs array of message instead of hash of c... was updated in Ruby on Rails
  • Alex Le
    Alex Le commented at 10:04 PM

    Hi José,

    Here's the patch for this issue. Basically now the ActiveModel::Errors#as_json would return the OrderedHash object itself, which will take care of the ...

  • Alex Le
    Alex Le created the ticket at 7:47 PM

    This change broke a bunch of my JavaScript code to handle validation on the client side (works perfectly fine on Rails 3B4 but not on Rails 3RC)

    To replicate th...

5242 ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away was updated in Ruby on Rails
  • Alex Le
    • Assigned user set to Mike Riley
    by Alex Le at 10:01 AM

    Mike,

    Even when I added it the line "reconnect: true" to the database.yml, I still ran into this issue again (after haven't accessed the site for a few hours). ...

Thursday, July 29 2010
5242 ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away was updated in Ruby on Rails
  • Alex Le
    Alex Le commented at 9:12 PM

    Mike, thanks for the thorough explanation. I really appreciate it.

    Please go ahead and close the ticket. I have added the "reconnect: true" to the database.yml ...

  • Alex Le
    Alex Le created the ticket at 7:06 PM

    I deployed a Rails 3 RC app last night to my Linode server, running CentOS, Nginx and Passenger, RVM with 1.8.7. Then this morning I connected to it again to an...

Wednesday, June 30 2010
5009 unobtrusive js: form_for :remote => true doesn't work in IE was updated in Ruby on Rails
  • Alex Le
    Alex Le commented at 1:42 AM

    Looking into latest code on github, the latest version of rails.js actually containing the fix that makes :remote => true on IE works.

    The commit is http://git...

  • Alex Le
    Alex Le created the ticket at 1:33 AM

    I've been working with Rails 3 beta 4 for a while on the Mac, then I switched to my PC laptop to test the site out. In IE (6,7, and 8), all the Ajax forms stopp...