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.

John Woods's latest activity

Friday, February 04 2011
2421 Problem with has_many :through and alternate keys was updated in Ruby on Rails
  • John Woods
    John Woods commented at 12:30 AM

    Okay, a bit more information. I have:

    class Phenotype
      has_many :observations
      has_many :genes, :through => :observations
    end
    
    class Observation
      belongs_to...
Thursday, February 03 2011
2421 Problem with has_many :through and alternate keys was updated in Ruby on Rails
  • John Woods
    John Woods commented at 11:55 PM

    Has this problem recurred? I'm seeing it again with the 3.1beta I just pulled from git.

Monday, January 24 2011
6331 select_tag ignores :multiple option was created in Ruby on Rails
  • John Woods
    John Woods created the ticket at 9:53 PM

    Normally, select_tag should allow a :multiple option, which produces:

    <select id="..." multiple>...</select>
    
    In 3.1 beta, the :multiple option is ignored. Thi...
Tuesday, October 26 2010
2421 Problem with has_many :through and alternate keys was updated in Ruby on Rails
  • John Woods
    • Tag changed from 2.3.2, alternate_key, associations, has_many_through, primary_key to 2.3.2, 3.0.0, alternate_key, associations, has_many_through, primary_key
    by John Woods at 11:43 PM

    Rails 3.0 seems to have the same problem. Reto's patch doesn't work on 3.0, but you can make the same change by hand in /activerecord-3.0.0/lib/active_record/as...

Saturday, September 26 2009
3267 Problem with String Interpolation breaks WWW::Mechanize was created in Ruby on Rails
  • John Woods
    John Woods created the ticket at 9:39 PM

    I will call this a Rails bug rather than a Mechanize bug because, I assume, code that runs in IRB should also run in the Rails console. The code is as follows:

    ...