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
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