Closed smpallen99 closed 11 years ago
I had two issues when trying to user Settings in a rails form. Update failed mass assignment validation since attr_accessible was missing. Added it.
text_field displays the YAML format stored in the database. Override active-record method to return the YAML parsed value.
Please have a look at release 2, which is a complete rewrite. It handles mass assignment security, too.
I had two issues when trying to user Settings in a rails form. Update failed mass assignment validation since attr_accessible was missing. Added it.
text_field displays the YAML format stored in the database. Override active-record method to return the YAML parsed value.