Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Haines 0888133aa6 Documentation 2013-01-07 16:37:36 +00:00
Andrew Haines a70bc5d098 Simplify decorator inferral 2012-12-19 21:45:22 +00:00
Toby Ovod-Everett fd359976d4 Replaced Draper.validate_options with assert_valid_keys. Much better! 2012-12-13 06:10:19 +00:00
Toby Ovod-Everett b2f63882ec Restore context. Collections inherit context by default, but associations
can specify either a static context or a lambda.  Validation for options
in a number of methods.
2012-12-13 06:10:19 +00:00
Andrew Haines 597fbdf0c8 Decorate empty collections 2012-12-11 19:49:39 +00:00
Andrew Haines 609123f1cc Simplify association decoration
We don't actually need to reflect on the association because we have
already fetched the associated object - we can just infer the
appropriate decorator from it directly.
2012-11-08 13:25:18 +00:00
Andrew Haines f0a1be3f73 Extract DecoratedAssociation 2012-11-08 13:25:12 +00:00