This project is archived and is in readonly mode.
timestamp columns do not get update in the HABTM join table
Reported by Neeraj Singh | July 20th, 2010 @ 04:19 PM | in 3.x
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.
Comments and changes to this ticket
-
Neeraj Singh July 21st, 2010 @ 04:55 AM
- Tag changed from rails 2.2.2, activerecord to rails 3, activerecord, patch
Attached is code patch and tests.
-
Neeraj Singh July 21st, 2010 @ 04:56 AM
- Assigned user changed from Neeraj Singh to José Valim
-
Repository July 21st, 2010 @ 01:52 PM
- State changed from open to resolved
(from [8bb3b634c07a327b9f1c7e21b4d1fcc407737a9f]) Timestamp columns of HABTM join table should record timestamps
[#5161 state:resolved] http://github.com/rails/rails/commit/8bb3b634c07a327b9f1c7e21b4d1fc...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 5152 [Rails3 b4] has_and_belongs_to_many (habtm) with string ids don't work timestamps should always be updated to reduce any element...
- 5161 timestamp columns do not get update in the HABTM join table [#5161 state:resolved] http://github.com/rails/rails/com...