added simple_form and inherited_resources support