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.

This project is archived and is in readonly mode.

timestamp columns do not get update in the HABTM join table

#5161

If I add created_at/on updated_at/on in HABTM join table then when records are inserted in this table timestamp columns remain NULL.

I'll work on it.

Reported by Neeraj Singh · July 20th, 2010 @ 04:19 PM

State: resolved
Milestone: 3.x
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Neeraj Singh
  2. Neeraj Singh
    Neeraj Singh
    • Tag changed from rails 2.2.2, activerecord to rails 3, activerecord, patch

    Attached is code patch and tests.

    July 21st, 2010 @ 04:55 AM

  3. Neeraj Singh
    Neeraj Singh
    • Assigned user changed from Neeraj Singh to José Valim

    July 21st, 2010 @ 04:56 AM

  4. Repository
  5. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • Tag cleared.

    Automatic cleanup of spam.

    October 19th, 2010 @ 07:08 AM