From 3cef188ff30cb9f77fbe859f7d6fec073408b62f Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sat, 6 Aug 2016 23:19:32 -0400 Subject: [PATCH] Update customer.rb --- app/models/customer.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/customer.rb b/app/models/customer.rb index 4762e9f..e839d5a 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -20,6 +20,8 @@ class Customer < ActiveRecord::Base self.primary_key = :id + acts_as_searchable :columns => [ "#{table_name}.nname"] + # returns a human readable string def to_s return name