I know that you can do this with virtual attributes, but what if the column really exists?
For example, my model has a raw_topic column. When raw_topic set, I want artist and song_title be set based on the contents of raw_topic . Ideally, I would like to override the raw_topic= method, but the rails don't seem to like it.
What is the right way to do this? Is callback the only way?
source share