Sha256: 7a3c7e41f6a50af32da82d4f6eb3b538adb04420b9c85573555550338fddaa9c

Contents?: true

Size: 723 Bytes

Versions: 7

Compression:

Stored size: 723 Bytes

Contents

* `validates :title, :presence => true`
  with @model.title == "Little Green Car" and validate({}) the form is still valid (as we "have" a valid title). is that what we want?

* document Form#to_hash and Form#to_nested_hash (e.g. with OpenStruct composition to make it a very simple form)
* document getter: and representer_exec:

* allow :as to rename nested forms
* make #nested_forms easier

vererben in inline representern (module zum einmixen, attrs löschen)

# TODO: remove the concept of Errors#messages and just iterate over Errors.
# each form contains its local field errors in Errors
# form.messages should then go through them and compile a "summary" instead of adding them to the parents #errors in #validate.

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
reform-0.2.7 TODO.md
reform-0.2.6 TODO.md
reform-0.2.5 TODO.md
reform-0.2.4 TODO.md
reform-0.2.3 TODO.md
reform-0.2.2 TODO.md
reform-0.2.1 TODO.md