Re: exclude an attribute from save

Caio Chassot
Wed, 09 Mar 2005 00:51:06 -0000

Enrico Teotti wrote:
> I''ve tried without luck this solution... I''ve still got
the error on
> the .save method... telling the column violates not-null constraint.
> It''s still trying to insert that column on the save call.
> Someone else has tried this solution on a problem like mine?
> Thanks

Maybe that''s overkill, but you could override the columns_hash method,
which both create and update rely internatlly, to never include the
problematic column.