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.

coffeeaddict_nl's latest activity

Thursday, December 09 2010
6137 routing polymorphic/sti resources seems broken was created in Ruby on Rails
  • coffeeaddict_nl
    coffeeaddict_nl created the ticket at 9:29 AM

    Hi,

    I have an Order class which is the root of 2 other STI classes

    class VirtualOrder < Order; end
    
    class ConcreteOrder < Order; end
    

    I also have a single Orde...

Monday, December 06 2010
6107 update_counters_with_lock does not call observers was updated in Ruby on Rails
  • coffeeaddict_nl
    coffeeaddict_nl commented at 6:08 PM

    After some further investigation as to where to place this patch, it turns out that update_counters in ActiveRecord::Locking::Optimistic::ClassMethods overrides...

Friday, December 03 2010
6107 update_counters_with_lock does not call observers was created in Ruby on Rails
  • coffeeaddict_nl
    coffeeaddict_nl created the ticket at 8:21 AM

    update_counters_with_lock from ActiveRecord::Locking::Optimistic::ClassMethods does not trigger the observer callbacks on the model.

    I am not really sure whethe...

Friday, July 09 2010
5075 ActionMailer attachment character set is not properly set was created in Ruby on Rails
  • coffeeaddict_nl
    coffeeaddict_nl created the ticket at 8:10 AM

    Hi,

    I am trying to send a generated CSV file by e-mail as an attachment. The contents of this file are utf-8.

    ActionMailer is clever enough to render the conten...

Wednesday, June 30 2010
3527 undefined method `destroyed?' for ActiveRecord::Associations::BelongsToAssoci... was updated in Ruby on Rails
  • coffeeaddict_nl
    coffeeaddict_nl commented at 2:51 PM

    /me bows head in shame.

    It turns out to be user error on my part.

  • coffeeaddict_nl
    coffeeaddict_nl commented at 7:02 AM

    This looks as if it is very closely related to #1515 and #2378 (still looking for a solution, but this might be of help to someone interested...)

Tuesday, June 29 2010
3527 undefined method `destroyed?' for ActiveRecord::Associations::BelongsToAssoci... was updated in Ruby on Rails
  • coffeeaddict_nl
    • Importance changed from to
    by coffeeaddict_nl at 2:47 PM

    This doesn't only happen on rspec-rails. It happens in real world apps (eg: non test cases) as well. My best bet is that ActiveRecord::Associations::Association...

Thursday, December 10 2009
2177 Unneccessary session loading/creation in form_authenticity_token was updated in Ruby on Rails
  • coffeeaddict_nl
    coffeeaddict_nl commented at 7:07 AM

    +1 for me 2! I have seen the intermittent InvalidAuthToken messages (mainly IE6). { Still can't figure out why Rails still uses base64 when hex is also availabl...

Sunday, October 18 2009
3390 Singular form problem was created in Ruby on Rails
  • coffeeaddict_nl
    coffeeaddict_nl created the ticket at 7:36 AM

    Hi,

    I have a model with a user and many of his drives.

    class User < ActiveRecord::Base

    has_many :drives
    

    end

    class Drive < ActiveRecord:: Base

    belongs_to :use...