John, I was looking at the validates method and I had a thought I'd bounce off you. Instead of just returning a hash of errors what about returning the record with the errors hash in the metadata? That way you just have the data and the errors in one "object" similar to an ActiveRecord model.
On Sun, Jan 4, 2009 at 2:22 PM, Brian Doyle <brianpdo...@gmail.com> wrote: > Looks good. I didn't know about the *file* var. > > On Sun, Jan 4, 2009 at 11:22 AM, John D. Hume <duelin.mark...@gmail.com>wrote: > >> >> Brian, >> I incorporated your changes and then made changes to load and run all >> clj_record/test/*-test.clj files. Thanks again. >> -hume. >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---