# How to change 'True'/'False' value for boolean attributes?

**URL:** <https://www.ruby-forum.com/t/how-to-change-true-false-value-for-boolean-attributes/68952>\
**Category:** Rails\
**Created:** [September 17, 2006, 6:27am UTC](https://www.ruby-forum.com/t/how-to-change-true-false-value-for-boolean-attributes/68952 "2006-09-17T06:27:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike](https://www.ruby-forum.com/u/mike)\
**Post date:** [September 17, 2006, 6:27am UTC](https://www.ruby-forum.com/t/how-to-change-true-false-value-for-boolean-attributes/68952/1 "2006-09-17T06:27:46Z")

</div>

Hi,

How would I change the text of a boolean attribute in an edit form?

Thank you

---

<div class="post-metadata">

**Author:** ![mike](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike](https://www.ruby-forum.com/u/mike)\
**Post date:** [September 17, 2006, 7:23am UTC](https://www.ruby-forum.com/t/how-to-change-true-false-value-for-boolean-attributes/68952/2 "2006-09-17T07:23:29Z")

</div>

On 9/16/06, Mike [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> How would I change the text of a boolean attribute in an edit form?

A boolean would be a checkbox. Can you give an example of code that  
isn’t working, and describe what you’re trying to do?

– James

---

<div class="post-metadata">

**Author:** ![mike](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike](https://www.ruby-forum.com/u/mike)\
**Post date:** [September 17, 2006, 7:35am UTC](https://www.ruby-forum.com/t/how-to-change-true-false-value-for-boolean-attributes/68952/3 "2006-09-17T07:35:59Z")

</div>

JDL wrote:

> On 9/16/06, Mike [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > How would I change the text of a boolean attribute in an edit form?
> 
> A boolean would be a checkbox. Can you give an example of code that  
> isn’t working, and describe what you’re trying to do?
> 
> – James

No, default input helper (input(:model, :boolean\_column)) generates a  
combo with True/False value. I know that this question was already  
asked, but I cannot find it back.

Thank you,
