fixes #4161: plugin ActiveRecord models that do no define 'name' method no longer throw NoMethodError when to_s is called
(cherry picked from commit 12cc808b8b39d9796671b63c5200d4d2e5d3ef79)
fixes #4161: plugin ActiveRecord models that do no define 'name' method no longer throw NoMethodError when to_s is called
(cherry picked from commit 12cc808b8b39d9796671b63c5200d4d2e5d3ef79)