I've seen some similar questions to this but I cannot find the answer.
I have a simple form that is supposed to save some values into the
database. However, when I call save, the record is saved with null
values instead of the values provided in the form.
As you can see by the following console output, the parameters are
being posted properly, but for some reason they are not being entered
into the database. I'm not doing any validations or anything else. I'm
also not receiving any errors.
I've seen some similar questions to this but I cannot find the answer.
I have a simple form that is supposed to save some values into the
database. However, when I call save, the record is saved with null
values instead of the values provided in the form.
As you can see by the following console output, the parameters are
being posted properly, but for some reason they are not being entered
into the database. I'm not doing any validations or anything else. I'm
also not receiving any errors.
What's the deal?
What about attr_protected or attr_accessible in the model?
As you can see by the following console output, the parameters are
being posted properly, but for some reason they are not being entered
into the database. I'm not doing any validations or anything else. I'm
also not receiving any errors.