So I've got an application which simply takes a number of RSS feeds and stores them in a table. It checks a couple of things in each entry for conditions and then sets an attribute based on the condition.
if self.value1 > self.value2 then
:status => 'foo'
else
:status => 'bar'
end
I'm still a bit of a noob with Ruby/Rails and setting the status is causing an exception but I don't know why.
Any help would be great.