Ruby on Rails Discussions
validate method called 2 times when saving
rubyonrails-talk
bitsweat
(Jeremy Daer)
November 25, 2006, 12:03am
1
Because both save and save! validate, and save! calls save.
save! validates once in 1.2.
jeremy
Related topics
Topic
Replies
Views
Activity
Undocumented behaviour of #save!
rubyonrails-core
7
232
February 11, 2018
proposal: deprecate save() in favor of save!()
rubyonrails-core
6
239
June 24, 2015
Pulling ID from a just saved object?
rubyonrails-talk
0
114
October 25, 2007
model.save! not saving and not throwing exception
rubyonrails-talk
0
137
February 1, 2009
Something wierd with .save method
rubyonrails-talk
5
214
May 6, 2007