Re: DRY for ActiveRecord w/PostgreSQL : defaults and validations

Michael Schuerig
Mon, 19 Sep 2005 10:30:34 -0000

On Monday 19 September 2005 11:39, Lugovoi Nikolai
wrote:
> As for me it''s better to make one more constraint check query to
> database than handling weird exception messages (or even exposing
> them to end users).

Before reinventing anything, have a look at

  http://dev.rubyonrails.org/ticket/861

Michael

--
Michael Schuerig               Most people would rather die than think.
mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org
In fact, they do.
http://www.schuerig.de/michael/                      --Bertrand Russell