werein/x-editable-rails — pull request #35 by jkostolansky (2014-04-22 22:11:08+00:00)
Title: html_safe for non-String objects

```html_safe``` is a Rails helper method only for the String class. When you call ```try(:html_safe)``` on a non-String object, you get ```nil```. This produces errors when xeditable is used for e.g. numeric model attributes.