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.

Horace Ho's latest activity

Tuesday, March 23 2010
3151 MySQL adapter update to enable use of stored procedures was updated in Ruby on Rails
  • Horace Ho
    Horace Ho commented at 9:23 AM

    It looks like CALLing a MySQL stored procedure from Rails kills the current connection:

    $ script/console
    Loading development environment (Rails 2.3.5)
    >> Activ...
Wednesday, March 17 2010
4203 create and find_or_create_by behaves differently on model with no :id column was created in Ruby on Rails
  • Horace Ho
    Horace Ho created the ticket at 9:01 AM
    $ rails -v
    Rails 2.3.5
    $ rails tour
    $ cd tour
    $ script/generate model country code:string name:string --skip-timestamps
    
        class CreateCountries < ActiveReco...
Monday, December 08 2008
1529 scafffold, 1st column value is wrong was created in Ruby on Rails
  • Horace Ho
    Horace Ho created the ticket at 8:10 AM

    1 create a project

    2 script/generate scaffold Phone type:string maker:string

    3 rake db:migrate

    4 open http://localhost:3000/phones in a browser enter "Smart" in...