fix render_field on models with protected attributes or STI models due to protected attributes (rails 3)