lotus/model — pull request #48 by taoza (2014-07-31 15:46:50+00:00)
Title: Simplify framework initialization

This PR aims at a complete implementation of the feature set requested by https://github.com/lotus/model/issues/33

- [x] Instantiate global mapper through `Lotus::Model.configure`
- [ ] Make Lotus::Model to register adapters instances, and to specify a default one.
- [ ] Because of the previous requirement, consider to introduce a configuration and duplication mechanisms, like we do with Lotus::Controller and Lotus::View.
- [ ] Mapper should allow to specify adapters for a collection.
- [ ] Provide a single entry point to make the setup automatic.