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.

Frederick Cheung's latest activity

Sunday, May 10 2009
2140 Problems updating all gems to Rails 2.3 on Win XP was updated in Ruby on Rails
  • Frederick Cheung
    • Title changed from * Edit post * Report this post * Reply with quote Problems updating all gems to Rails 2.3 on Win XP to Problems updating all gems to Rails 2.3 on Win XP
    • State changed from new to invalid
    by Frederick Cheung at 3:42 PM

    Not a rails problem I'm afraid. rubygems is trying to install gems which have a native component (ie a chunk of C that needs compiling) but you don't have the n...

Friday, May 08 2009
2262 Associations are picking the wrong class was updated in Ruby on Rails
2328 named_scope sum should delegate to Enumerable was updated in Ruby on Rails
  • Frederick Cheung
    Frederick Cheung commented at 12:08 AM

    Personally i think that named_scope's sum being an activerecord sum is the right thing - scopes generally behave almost exactly like the original class, just wi...

2335 association_ids is not updated when all options are unselect was updated in Ruby on Rails
Thursday, May 07 2009
2424 form_tag code broken was updated in Ruby on Rails
2471 Accessing named_scope with :include in view was updated in Ruby on Rails
  • Frederick Cheung
    • State changed from new to invalid
    by Frederick Cheung at 11:50 PM

    Sorry, this isn't a support forum for rails. You might want to try the rubyonrails-talk google group or the rubyonrals channel on freenode.

2568 dont remove cgi support + reasons was updated in Ruby on Rails
2569 deprecated warning for dom_id was updated in Ruby on Rails
  • Frederick Cheung
    • State changed from new to invalid
    by Frederick Cheung at 11:30 PM

    That would however break things. dom_id is supposed to be using id (the primary key from the database) not object_id (some random transient identifier). If you'...

2557 Bug(?) - ActionMailer responds_to? failing to return true/false bug was updated in Ruby on Rails
  • Frederick Cheung
    • Tag changed from 2.3.2, actionmailer, base, rails, respond_to to 2.3.2, actionmailer, base, rails, respond_to
    by Frederick Cheung at 11:25 PM

    Does it really matter? ruby will happily consider anything other than nil/false as true for the purposes of an if statement and so on.

2556 ActionMailer responds_to? failing to return true/false bug was updated in Ruby on Rails