Sha256: 0f3b4c3022a99802e02cd682811e3b5b723ba70061c249537a8f6442e46d42f6

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

class Feedback < ActiveRecord::Base
  validates :email, :presence=>true, :email=>true
  validates :name, :presence=>true, :length=>{:minimum=>6}
  validates :phone
  validates :subject, :presence=>true

  def self.jq_validation
    JQueryValidator.new
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wheels-0.1.12 app/models/feedback.rb
wheels-0.1.10 app/models/feedback.rb