nathanvda/cocoon — pull request #90 by dnagir (2012-09-24 08:53:58+00:00)
Title: Allow to use with Arrays and non-associations

This PR allows to use cocoon with custom methods and doesn't bind it to AR only.
So ActiveAttr or just transient methods can be used.

- Fix the issue when error is raised when an association doesn't exist (#85).
- Allow to build the form for Non-AR associations, plural and singular. The only requirement is a method `build_`.
- Raise a descriptive error when it isn't association and no `build_` method is defined.
- Minor refactoring of `create_object`

May deal with the related issues: #79, #85, #86