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.

knoopx (at gmail)'s latest activity

Friday, October 01 2010
4840 to_xml doesn't work in such case: Event.select('title as t').to_xml was updated in Ruby on Rails
  • knoopx (at gmail)
    knoopx (at gmail) commented at 8:43 AM

    This patch makes it behave in ruby-1.9 like using ruby-1.8. I've debugged the attributes on both versions and are exactly the same. when

Thursday, September 30 2010
4840 to_xml doesn't work in such case: Event.select('title as t').to_xml was updated in Ruby on Rails
  • knoopx (at gmail)
    knoopx (at gmail) commented at 3:15 PM

    If it works on 1.8 and not in 1.9 it may be due is inheriting attributes that should not be inherited.

  • knoopx (at gmail)
    knoopx (at gmail) commented at 3:08 PM

    It's obvious that the problem is caused by this line:

        type = @serializable.class.serialized_attributes.has_key?(name) ?
          super : @serializable.class.c...
  • knoopx (at gmail)
    knoopx (at gmail) commented at 3:02 PM

    I'm having similar problems when including associations.

      2) Api::V1::StreamablesController should show details for a movie
         Failure/Error: get(:show, :id...