werein / x-editable-rails

Edit fields easily with X-Editable helper

Home Page:https://wereinhq.com/guides/x-editable-rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'true' and 'false' displayed instead of 'Yes', 'No' for boolean values.

bblimke opened this issue · comments

editable @model, :boolean_attribute displays 'true' and 'false' instead of 'Yes' and 'No'

This is because default source for TrueClass and FalseClass is not applied.

The cause is line 98 of view_helpers.rb in this commit bbb2952

Thanks, you are absolutely right. It's fixed

Cheers! Do you plan a patch release?

Sure, just few minutes