Howdy, I've been playing with a concept of specifying the data models in an rspec, then generating the project from the rspec. This allows specifying the model relationships in addition to the model properties.
What I have now is an application (http://github.com/royw/spec2merb) that can generate a merb project where all of the data models are exposed via RESTful controllers with 2 controller nesting (/foos/1/ bars). Here's the write up on my blog: http://royw.wordpress.com/2009/06/17/specifications-to-generated-merb-project/ I'm finding I like the concept of generating from specs for a few reasons: * the specs provide nice high level documentation * modifying the specs and regenerating helps keep the specs current * richer generation (ex: relationships) Have fun, Roy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
