ledermann/rails-settings — pull request #24 by smpallen99 (2012-11-19 00:44:52+00:00)
Title: add attr_accessible for updating. override value_before_type_cast so co...

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.