boolean input string not 'raw' #6

pehrlich opened this Issue Aug 2, 2011 · 3 comments


None yet

2 participants

pehrlich commented Aug 2, 2011

displays as string, rather than rendered html:

devdatta commented Aug 2, 2011

Can you please elaborate a little bit more?

pehrlich commented Aug 2, 2011


Here's a snippet from my edit page:

<% cols = @account.class.column_names %>

<% cols.each do |col| %>
    <br/><b><%= f.label col.to_sym %></b>:
    <%= input 'account', col %>
<% end %>

Here's the model:

=> Account( , is_chef: boolean)

When the page is rendered, all fields are displayed correctly except for
this one (the only boolean), which appears as the source of a True/False
select menu printed out on the page. (Code eaten by github).

Haven't had the time for exhaustive testing yet, or would be digging in to
the source of this delicious gem myself :-)

Cheers & Thanks,

On Tue, Aug 2, 2011 at 7:11 AM, devdatta <>wrote:

Can you please elaborate a little bit more?

Reply to this email directly or view it on GitHub:
#6 (comment)

devdatta commented Aug 3, 2011

I have fixed the issue. Please let me know if it still causes any problem.


@devdatta devdatta closed this Aug 3, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment