elight / acts_as_commentable_with_threading

Similar to acts_as_commentable; however, utilizes awesome_nested_set to provide threaded comments
MIT License
671 stars 168 forks source link

adding new db column #104

Open Rubioli opened 8 years ago

Rubioli commented 8 years ago

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!

eef commented 7 years ago

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