Sha256: d9b6cd30772997fca1ea0d12a3321bc5d60f2fef5b04ab75665183626f38cc77

Contents?: true

Size: 331 Bytes

Versions: 12

Compression:

Stored size: 331 Bytes

Contents

# == Schema Information
#
# Table name: contacts
#
#  id         :integer          not null, primary key
#  name       :string
#  email      :string
#  message    :text
#  created_at :datetime         not null
#  updated_at :datetime         not null
#

class Contact < ActiveRecord::Base
  scope :searchx, -> { where('1=1') }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rails_db-2.4.5 test/dummy/app/models/contact.rb
rails_db-2.4.4 test/dummy/app/models/contact.rb
rails_db-2.4.3 test/dummy/app/models/contact.rb
rails_db-2.4.2 test/dummy/app/models/contact.rb
rails_db-2.4.1 test/dummy/app/models/contact.rb
rails_db-2.4.0 test/dummy/app/models/contact.rb
rails_db-2.3.1 test/dummy/app/models/contact.rb
rails_db-2.3.0 test/dummy/app/models/contact.rb
rails_db-2.2.1 test/dummy/app/models/contact.rb
rails_db-2.2.0 test/dummy/app/models/contact.rb
rails_db-2.1.1 test/dummy/app/models/contact.rb
rails_db-2.1.0 test/dummy/app/models/contact.rb