acts_as_commentable_with_threading icon indicating copy to clipboard operation
acts_as_commentable_with_threading copied to clipboard

adding new db column

Open Rubioli opened this issue 8 years ago • 1 comments

I have added new column to my comments database called is_image and it's a boolean.

In my form I have added: = f.input :is_image

And in my controller, I have added it inside comment_params, permit.

But even when it's checked in form, is_image is still false in my database.

How can I fix it so when is_image is checked it changes false to true.

Thanks in advanced!

Rubioli avatar May 13 '16 14:05 Rubioli

Did you resolve this? I am trying to add a column to my comments table too and experiences the same thing

eef avatar Dec 05 '16 19:12 eef