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

Tuesday, November 18 2008
1375 Fix reserved options in optimized named routes was updated in Ruby on Rails
1394 compute_asset_host bombs when asset_host = Proc and called from a Mailer was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 6:28 PM

    Can you also provide a test for actionmailer which shows the problem?

    Would help avoid regressions and make the changeset a little more obvious.

Monday, November 17 2008
1251 default_url_options can't be used with named routes was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 6:56 PM

    Right, this works for :locale, but not for anything else.

    We can't fix this with a special case that only suits the people with this one particular problem. aft...

  • Michael Koziarski
    Michael Koziarski commented at 3:17 PM

    It's also annoying as it breaks polymorphic_url sometimes, kinda frustrating. This would be something that could be fixed in another ticket if you wanted to hel...

  • Michael Koziarski
    Michael Koziarski commented at 3:06 PM

    This is just a side-effect of how the positional arguments work, they fill in the arguments from left to right.

    so it's passing '2' for your locale. This has be...

  • Michael Koziarski
    Michael Koziarski commented at 3:03 PM

    You can't use positional arguments with default_url_options sadly, you have to use

    book_path(:id=>2)

  • Michael Koziarski
    • State changed from new to resolved
    by Michael Koziarski at 2:36 PM

    This is actually fixed in 2.2 already.

    In fact I have that exact same snippet of code in my app :)

867 undefined method `length' for Enumerable when calling truncate method was updated in Ruby on Rails
  • Michael Koziarski
    • State changed from new to resolved
    by Michael Koziarski at 1:29 PM

    2.1.x doesn't support ruby 1.8.7.

    Either downgrade to 1.8.6 or upgrade rails to 2.2 RC2

Sunday, November 16 2008
1145 Bug: InvalidAuthenticityToken incorrectly raised for XML controller#destroy r... was updated in Ruby on Rails
  • Michael Koziarski
    Michael Koziarski commented at 7:45 PM

    Nice find, I've updated 2-2-stable and master.

    2-1-stable still uses @@unverifiable_types and will need a separate fix which I'll add shortly.

Saturday, November 15 2008
1376 has_one :through with decorated join model saves incorrectly was updated in Ruby on Rails
  • Michael Koziarski
    • State changed from new to resolved
    by Michael Koziarski at 5:24 PM

    Nice find,

    Yeah, the inverses of associations don't work anywhere in rails at present. The same is true with a simple has_many /belongs_to.

    Ideally we can fix t...