Open GoogleCodeExporter opened 9 years ago
It seems that different behavior on create/save causes confusion.
What about creating #rdn= method?
P.S. It seems that you should use before_save or before_validation not
validate_on_create.
Original comment by kou...@gmail.com
on 12 Oct 2009 at 2:34
What this method will do? What will be with method #id= ?
I will try check it with before_save or before_validation little bit later
P.S. Will be great if you can make works all callbacks (like before_create).
Original comment by Alexey.Chebotar@gmail.com
on 14 Oct 2009 at 11:07
#rdn= will work like you want but #id= will not be changed.
{before,after}_create are invoked just for new entries. {before,after}_save are
invoked for all entries.
Original comment by kou...@gmail.com
on 16 Oct 2009 at 12:21
> #id= will not be changed.
It means #id= behavior will not be changed.
Original comment by kou...@gmail.com
on 16 Oct 2009 at 12:23
Original issue reported on code.google.com by
Alexey.Chebotar@gmail.com
on 10 Oct 2009 at 7:24