validates_presence_of problem

Hi! 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?

Thanks!

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

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

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