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.

acechase's latest activity

Friday, June 04 2010
3527 undefined method `destroyed?' for ActiveRecord::Associations::BelongsToAssoci... was updated in Ruby on Rails
  • acechase
    acechase commented at 11:14 PM

    Jeez... I apologize for not having all this better coalesced before posting but I now need to add an additional note.

    So, Flexmock has capacity for mocking AR::...

  • acechase
    acechase commented at 11:04 PM

    Quick addition:

    I tested this with Flexmock V0.8.3, then after writing the above comment went back and upgraded Flexmock to v0.8.6 and the problem remains.

    Look...

  • acechase
    acechase commented at 10:56 PM

    This is still broken as of rails 2.3.8. Unlike some other folks who've reported this problem, we are not using rspec, we use Flexmock. When are seeing this prob...

Thursday, May 27 2010
896 Be a little more discerning about which exceptions to handle was updated in Ruby on Rails
  • acechase
    acechase commented at 7:23 PM

    Hey guys,

    Perhaps I should open another ticket for this, please let me know if that's the case. I have a patch that addresses what is for me the most egregious ...

Wednesday, May 26 2010
3193 Rails 2.3.4, json gem : to_json issue was updated in Ruby on Rails
  • acechase
    acechase commented at 11:55 PM

    Heh, I spoke too soon...

    For objects from classes that descend from ActiveRecord::Base removing the 'json/add/rails'require was all that was needed to get back ...

  • acechase
    acechase commented at 11:22 PM

    I've been upgrading our app from Rails 2.2.2 to 2.3.8 and hit this problem (and all sorts of other JSON craziness). I was stumped, changing ActiveSupport::JSON....

Wednesday, December 10 2008
1554 fix to eager loading on polymorphic associations was updated in Ruby on Rails
  • acechase
    acechase commented at 11:30 PM

    It's a similar problem. In #546 the problem was that the records were not being grouped by class at all. Now, records are being grouped by class appropriately, ...

  • acechase
    acechase created the ticket at 9:39 PM

    We need to be sure to invoke the preload_XXX_associations method on the proper class, otherwise loading polymorphic associations will not work properly. It brea...

Friday, October 03 2008
1166 count works differently than find with polymorphic include was created in Ruby on Rails
  • acechase
    acechase created the ticket at 11:43 PM

    It looks like AR::Base#count has different behavior than AR::Base#find when a polymorphic association is listed in the :include option. For instance, assuming w...

Thursday, September 04 2008
445 Improved support for model namespaces (fixtures, generators, table naming) was updated in Ruby on Rails
  • acechase
    acechase commented at 10:14 PM

    I went ahead and implemented the double underscore differentiator in Inflector to see what kind of ramifications it would have. By changing the Inflector#unders...