Update customer.rb

This commit is contained in:
2016-08-06 23:19:32 -04:00
committed by GitHub
parent 1b767f78d2
commit 3cef188ff3

View File

@@ -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