Sha256: 2aa29cb30f415c7f3e22bcf5f83315f2539385cfda7aa43ca5ddfc5bbb261c2d

Contents?: true

Size: 201 Bytes

Versions: 1

Compression:

Stored size: 201 Bytes

Contents

module FeedbackGem
  class Feedback < ApplicationRecord
  	validates :name,:email,:subject,:description,presence: true
  	def self.search(searchname)
			where('name LIKE ?',searchname)
		end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feedback_gem-0.2.8 app/models/feedback_gem/feedback.rb