From: Richard Conroy Date: 2011-08-24T21:46:34+09:00 Subject: Re: Any model-validation library without ActiveSupport dependency? --0016367faf65b0c5c404ab3fb3ae Content-Type: text/plain; charset=ISO-8859-1 On Wed, Aug 24, 2011 at 12:42 PM, Alexey Petrushin wrote: > Thanks. > > But it has dependency on the dm-core (DataMapper), so it seems that it > can be used with DataMapper only. > > Model validations by their nature are very intimate with the ORM. Another approach may be to use something like bureaucrat (an ORM agnostic form helper) or validations that are at the controller/view level. It is not DRY, as those validations are not performed in console or through an API layer, but a lot of the benefit of validations occurs between the user and the keyboard. regards, Richard -- http://richardconroy.blogspot.com | http://twitter.com/RichardConroy --0016367faf65b0c5c404ab3fb3ae--