maccman/spine-rails — pull request #2 by dnagir (2011-10-21 06:53:34+00:00)
Title: Rails Generators and convenient Spine.Controller extensions

This is pretty large pull request.

But the most notable things are:

- we got README :)
- it has generators for model, controllers, views or all of them at once (resource generator)
- views are plain simple, but can generate hamljs, eco or ejs templates (automatically, depending on the app gems)
- `app.js.coffee` extends `Spine.Controller` with convenience method to render views: `@render 'show', post`
- the directory structure is NOT in the `app/assets/javascripts/app/{models,views,controllers}`, but rather in `app/assets/javascripts/{models,views,controllers}` (that `app/.../app` freaks me out).

Hope to get this merged in.

It will not break anything (I promise!), so just `rake release` after merge :)

Cheers.