[Rails] Validation in different actions.
hi2all.
for example, I have 2 resembling actions(not same!), and in one of them
I want to some validation work, in other- no.
data in them is very resembling to, and I can't do this:
> validate :v_method, :if => "some.data_differences.exists?"
Which the best way you recommend?
Cheers, Michael
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home