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.

Johannes Schmidt's latest activity

Thursday, April 22 2010
4329 has_many through association does not link models on association save was updated in Ruby on Rails
  • Johannes Schmidt
    Johannes Schmidt commented at 8:13 AM

    The same behavior when using the :autosave option.

  • Johannes Schmidt
    Johannes Schmidt commented at 6:25 AM

    @Delinieate: Polymorphic was a typo. Just changed that.

Monday, April 05 2010
4329 has_many through association does not link models on association save was updated in Ruby on Rails
  • Johannes Schmidt
    Johannes Schmidt commented at 7:28 PM

    btw. using

    post.people.create(:first_name => "Bob")
    

    works as expected.

  • Johannes Schmidt
    • Tag changed from has_many_through to has_many_through, rails3
    by Johannes Schmidt at 7:26 PM
  • Johannes Schmidt
    Johannes Schmidt created the ticket at 7:21 PM

    Having a :through association like

    class Post < ActiveRecord::Base
      has_many :readers
      has_many :people, :through => :readers
    end
    
    class Reader < ActiveRecor...