app/models/feedback.rb in wheels-0.1.9 vs app/models/feedback.rb in wheels-0.1.10
- old
+ new
@@ -1,11 +1,9 @@
class Feedback < ActiveRecord::Base
validates :email, :presence=>true, :email=>true
validates :name, :presence=>true, :length=>{:minimum=>6}
- validates :phone, :presence=>true
+ validates :phone
validates :subject, :presence=>true
-
-
def self.jq_validation
JQueryValidator.new
end
end