validates_presence_of problem

I'm new with ruby on rails.

I have a problem with validates_presence_of: it work too much!
It gives me error when the form is blank and when it is not blank too.

I simply put in my model this line:
validates_presence_of :title
(I am using the book of Dave Thomas and David Hansson, "Agile Web
Development with Rails".. chapter 6)

Do you know what the error can be?


Ehm.. OK I'm really tired today..!

The problem was that in my db there isn't a column called title...

Well, bye to everyone!
Maybe this topic could be useful for someone else.. :wink: