From: Phillip Gawlowski Date: 2011-01-01T00:03:13+09:00 Subject: Re: Where To Put Validation Logic? On Fri, Dec 31, 2010 at 2:36 PM, Tom Wardrop wrote: > I honestly don't give a damn about rails. In fact, if anything, I'm > trying to go against the rails-way by breaking out of the common > ActiveRecord-esque interface (write, validate, save) by using a > write-on-set which takes advantage of MongoDB. Well, validation logic should be in the same place that deals with the database. In MVC, that's the model. P.S.: Active Record is one possible variant of how to deal with the DB in a MVC environment, of which ActiveRecord is the canoncial Rails implementation. -- Phillip Gawlowski Though the folk I have met, (Ah, how soon!) they forget When I've moved on to some other place, There may be one or two, When I've played and passed through, Who'll remember my song or my face.