fixes #4161: plugin ActiveRecord models that do no define 'name' method no longer throw NoMethodError when to_s is called
fixes #4161: plugin ActiveRecord models that do no define 'name' method no longer throw NoMethodError when to_s is called