Forum: Ruby on Rails How to reuse ActiveRecord::Validations

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
gpy g. (Guest)
on 2007-06-22 05:45
I want to reuser ActiveRecord::Validations with out ActiveRecord::Base
How to do this ?

class TempModel
  include ActiveRecord::Validations
  validate_presence_of :title
This topic is locked and can not be replied to.