Hallo Thomas..
na die validierung findet doch im model statt.
wenn ich mit 2 Eingabeformularen das gleiche model anspreche.. wird
jedes mal die validierung gefragt..
class A < AR::Base
attr_accessor :needs_validation
validates_presence_of :a, :b, :c, {:if => :needs_validation}
end
a = A.new
a.needs_validation = true
a.save
vs.
a.needs_validation = false
a.save
oder einfach
a.save(false)
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug