validation without ActiveRecord

ianic
Tue, 24 May 2005 13:50:17 -0000

Is there a way to use ActiveRecord::Validations in a class which is not
   ActiveRecord::Base descendant.
I would like to use just built in error reporting and validations.

That should be working:
http://one.textdrive.com/pipermail/rails/2004-December/001144.html

But I have error:
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/validations.rb:188:in
`alias_method'': undefined method `save'' for class
`KosaricaMail''

weather on not my class has method save.

Thanks,
Igor.

--
Igor Anić
email: ianic-eC0b4XhvfLY@public.gmane.org
gsm: +385 91 53 90 849
42
www.4dva.hr
I. Lučića 5, Zagreb
tel: +385 1 61 68 552