Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 420 Bytes
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