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.

Nathan Witmer's latest activity

Thursday, December 30 2010
6233 habtm join requires an active connection was created in Ruby on Rails
  • Nathan Witmer
    Nathan Witmer created the ticket at 1:27 AM

    ActiveRecord::Associations#create_has_and_belongs_to_many_reflection, currently line 1814 of associations.rb, accesses AR::Base's connection in order to do som...

Saturday, August 16 2008
848 finder_sql in has_and_belongs_to_many is only interpolated once was updated in Ruby on Rails
  • Nathan Witmer
    Nathan Witmer commented at 8:49 PM

    I should note that removing interpolate_sql_options! doesn't affect anything else, it was only being used in the habtm association.

  • Nathan Witmer
    Nathan Witmer created the ticket at 8:44 PM
    
    class Project < ActiveRecord::Base
      has_and_belongs_to_many :developers, :finder_sql => 'select d.* from developers d inner join developers_projects dp on d.i...