ruby on rails - ROR maintain history of object updates -
i have model want store history of changes to, plan rather update object create new 1 , on show fetch latest version.
this plan presents number of difficulties firstly id different after update indend around keeping second id column same updates of instance.
to end have created sqlite sequence second coloumn.
my question how can values sequence in model/controller want on first time object created, secondly how can use second id column url object fixed throughout updates.
many thanks,
check out papertrail gem. might want , sidestep issues completely.
Comments
Post a Comment