From: Maciej Piechotka Date: 2007-12-21T22:34:59+09:00 Subject: [Rails 2.0] Autosetting field before validation Why this code do not work(permalize is from plug-in): def before_validation_on_create permalink ||= name.permalize unless name.nil? end Regards PS. The method is called but it do not change attribute. How to change it? -- I've probably left my head... somewhere. Please wait untill I find it. Homepage (pl_PL): http://uzytkownik.jogger.pl/ (GNU/)Linux User: #425935 (see http://counter.li.org/)