This project is archived and is in readonly mode.
STI derived class needs self.record_timestamps = true
-
Akshay Surve
Paul,
I was facing a similar problem which you described above with my STI derived classes from a particular base class and so I stumbled upon this ticket. Although, timestamps in STI derived classes from a different base class were working fine.
So upon further investigation I found out that this was due to the AASM plugin. Removing it everything worked fine. Later I found the following probable patch for the issue with AASM.
http://github.com/rubyist/aasm/c...
Hope this helps.
Cheers!
-
Paul
Great Akshay!
yes - i am using aasm too. Although i stopped using STI for now within this project (in fact a solution with a simple flag was sufficient) i appreciate your input very much and i am prepared now to give it a second try :)
Best paul
-
Rishav Rastogi
- Assigned user set to Ryan Bigg
Problem with aasm and seems have to been fixed overtime. Invalid
-
Rishav Rastogi
Its not a rails bug, i mean