Forum: Ruby on Rails Timestamp columns in Sybase

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mike J (Guest)
on 2007-03-01 15:39
(Received via mailing list)
On Sybase DBs, the timestamp column cannot be updated with a query,
the server does it automatically(
id=20316). Since ActiveRecord writes all attributes back to the
database on every call to #save, the transaction error. To get by I
edited the default sybase_adapter to not include timestamp types when
it returns the column listing, thus eliminating that attribute all
together. But now if I want to read that attribute, I'm out of luck.

Has anyone else run across this issue? Is there some way I can fix the
problem without modifying the sybase_adapter?
This topic is locked and can not be replied to.