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.

Martin Sadler's latest activity

Wednesday, July 02 2008
274 Finder :include assoc with same name as key fail on Postgres was updated in Ruby on Rails
  • Martin Sadler
    Martin Sadler commented at 8:46 AM

    Hey Pratik, I would close this ticket for now.

    I ended up renaming created_by/updated_by to created_by_id/updated_by_id in the database and made a few tweaks ...

Friday, May 30 2008
274 Finder :include assoc with same name as key fail on Postgres was updated in Ruby on Rails
  • Martin Sadler
    Martin Sadler commented at 8:26 AM

    Frederick, thanks for the comment. Would you care to expand on that?

Thursday, May 29 2008
274 Finder :include assoc with same name as key fail on Postgres was created in Ruby on Rails
  • Martin Sadler
    Martin Sadler created the ticket at 5:31 PM

    On Postgres when calling find on a model with an :include that contains an association with the same name as it's key an exception is raised:

    >> Project.find(...