# Small yaml problem

**URL:** <https://www.ruby-forum.com/t/small-yaml-problem/112975>\
**Category:** Rails\
**Created:** [August 25, 2007, 5:54am UTC](https://www.ruby-forum.com/t/small-yaml-problem/112975 "2007-08-25T05:54:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eggie5](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7c8e57/32.png) [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Post date:** [August 25, 2007, 5:54am UTC](https://www.ruby-forum.com/t/small-yaml-problem/112975/1 "2007-08-25T05:54:26Z")

</div>

Rails seems to throw errors with this yaml:

one:  
id: 1  
\_3g2: true  
\_3gp: false  
mp4: false

What’s the deal?

---

<div class="post-metadata">

**Author:** ![eggie5](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7c8e57/32.png) [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Post date:** [August 25, 2007, 6:22am UTC](https://www.ruby-forum.com/t/small-yaml-problem/112975/2 "2007-08-25T06:22:27Z")

</div>

Ahh, it looks like rails was taking the true as literal text. This  
works:

one:  
id: 1  
\_3g2: 1  
\_3gp: 0  
mp4: 0
