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.

Michael Koziarski's latest activity

Wednesday, December 10 2008
1115 Path to extend named routes support for an object's to_params() method was updated in Ruby on Rails
  • Michael Koziarski
    • State changed from new to wontfix
    by Michael Koziarski at 7:00 PM

    I agree with ryan here, the right approach here is to use a custom helper rather than modify the routing code base.

1507 preloading has_one :through on a belongs_to was updated in Ruby on Rails
Wednesday, December 03 2008
383 ActiveRecord should use savepoints for nested transactions was updated in Ruby on Rails
1454 Put script/process/* in a plugin was updated in Ruby on Rails
  • Michael Koziarski
    • Assigned user set to DHH
    by Michael Koziarski at 5:48 PM

    You took em out, but did you add a plugin?

Tuesday, December 02 2008
1455 ActiveResource Failed With Rails 2.2.1 was updated in Ruby on Rails
  • Michael Koziarski
    • State changed from new to resolved
    by Michael Koziarski at 2:28 PM

    Cheers, applied and pushed.

    This will be fixed in the next point release.

Monday, December 01 2008
1472 ActiveResource 2.2.2 errors.from_xml Can't handle symboled attribute keys bec... was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 8:15 PM

    consistency with AR is probably worth doing, plus it makes it a little less ad-hoc compared to sticking .to_s somewhere. It'll also stop any other issues from p...

  • Michael Koziarski
    Michael Koziarski commented at 8:08 PM

    This sounds like a good fix to me, attach a patch with tests and we're good to go.

1455 ActiveResource Failed With Rails 2.2.1 was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 8:10 PM

    OK, so the issue here is simply this:

    
    >> Product.new.new_record?
    => nil
    

    Previously routes were a little more understanding, but no longer.

    To fix this for a...

1115 Path to extend named routes support for an object's to_params() method was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 7:26 PM

    I'm just not sold on the API to be honest. It just feels a little too coupled. f.ex what's the to_params return for a Photo when you have

    post/1/photos/2 photos...

1379 Serialized Fixnum, Float or Boolean returns a String after save was updated in Ruby on Rails
  • Michael Koziarski
    • Assigned user changed from DHH to Michael Koziarski
    by Michael Koziarski at 7:19 PM

    I think the fix should look something a bit like this?

    http://pastie.caboo.se/327995

    The change causes test failures because the Topic model serializes content ...