# Boolean field with the Ruby kit

**URL:** <https://community.prismic.io/t/boolean-field-with-the-ruby-kit/391>\
**Category:** Developing with Prismic\
**Tags:** ruby\
**Created:** [May 13, 2020, 10:28am UTC](https://community.prismic.io/t/boolean-field-with-the-ruby-kit/391 "2020-05-13T10:28:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoltan](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@zoltan](https://community.prismic.io/u/zoltan)\
**Post date:** [May 13, 2020, 10:28am UTC](https://community.prismic.io/t/boolean-field-with-the-ruby-kit/391/1 "2020-05-13T10:28:33Z")

</div>

Hi there,  
I have a running rails application with the latest [prismic.io](http://prismic.io) gem (v1.7.0)  
I've added a new content type with a boolean field but it seems that all boolean fields are missing from the response object.  
Is the boolean field supported by the gem?

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [May 13, 2020, 10:37am UTC](https://community.prismic.io/t/boolean-field-with-the-ruby-kit/391/3 "2020-05-13T10:37:52Z")

</div>

Hi Zoltan,

Unfortunately, it's, as you thought, not possible to use the boolean field with the Ruby gem at the moment.  
This is an open issue on the kit, so you can track this there:

> <https://github.com/prismicio-community/ruby-kit/issues/91>
>
> With the release of the \[boolean field\](https://user-guides.prismic.io/en/articl…es/3456034-boolean-field) and \[slices\](https://user-guides.prismic.io/en/articles/383933-slices) it would be great to see these supported together. 
> 
> Currently when a boolean field is inside a slice the method \`api.getByID\` errors out with a generic \`\`\`undefined method \`call' for nil:NilClass\`\`\` error.

I'll pass this to the dev team so they can add this to their backlog and hopefully they can find some bandwidth to deal with this issue.

Thanks.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 15, 2020, 4:46pm UTC](https://community.prismic.io/t/boolean-field-with-the-ruby-kit/391/5 "2020-09-15T16:46:08Z")

</div>

closed on September 15, 2020, 4:46pm UTC, flag & select 'Something Else' to reopen.



---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 5:41pm UTC](https://community.prismic.io/t/boolean-field-with-the-ruby-kit/391/6 "2021-12-09T17:41:33Z")

</div>

Opened on December 9, 2021, 5:41pm UTC


