Hi, is it possible to use validations like:
class Post < ActiveRecord::Base
validates_presence_of :name, :title
validates_length_of :title, :minimum => 5
end
with basic_model?
I tried reading the source, but I couldn't find anything there. Are those validates_
available for other model types, or only ActiveRecord::Base?
Thanks a lot!