Ruby on Rails Discussions
skipping validation during create?
rubyonrails-talk
RSL
(RSL)
January 16, 2007, 4:16pm
1
validates_presence_of :on => :update
It works [I believe] for all the validations.
RSL
Related topics
Topic
Replies
Views
Activity
skipping validation during create?
rubyonrails-talk
0
72
January 16, 2007
Validate some fields only on object creation, not update
rubyonrails-talk
0
131
December 17, 2006
Possible bug in Validations
rubyonrails-core
7
153
February 17, 2011
Suggestion: `before_save on: :create` should either work or raise an exception
rubyonrails-core
5
266
November 13, 2012
validates_presence_of - only on edit
rubyonrails-talk
3
108
February 12, 2009