Forum: Ruby on Rails Add to Current Value in DB

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.
70fdb3703c85278b7b5705ab119482dc?d=identicon&s=25 valeriem (Guest)
on 2007-05-21 20:28
(Received via mailing list)
I have a column in my database called activity_value and activity_time
for a blogging system

How do I add to the current value in a field. ex active_value =
value.current + @new_value

I could do this easily in PHP but not rails
This topic is locked and can not be replied to.