dynamic_form
dynamic_form copied to clipboard
NOTICE: official repository moved to https://github.com/joelmoss/dynamic_form
DynamicForm
DynamicForm holds a few helpers method to help you deal with your models, they are:
- input(record, method, options = {})
- form(record, options = {})
- error_message_on(object, method, options={})
- error_messages_for(record, options={})
It also adds f.error_messages and f.error_messages_on to your form builders.
Copyright (c) 2010 David Heinemeier Hansson, released under the MIT license