Fork me on GitHub

to_s/to_s(:short)

16 Aug 2010

Yincan (shengyincan@gmail.com)

Change from

def display_name
    "#{first_name} #{last_name}"...
end

to

def to_s
     "#{first_name} #{last_name}"...
end

Tags