Given the following:
class Topic < ActiveRecord::Base
attr_accessible :text
validate :text
end
raises no Exeception. It’s seems a little bit strange. I’d like to understand if it is a correct behavior or not
I Think that validate should raises exception when it has attibutes as argument.