Standard JS SPA stack we use at netguru
Add this line to your application's Gemfile:
gem 'js_stack'
And then execute:
$ bundle
Modify application.coffee
(you have to be using asset pipeline):
#= require js_stack
#= require js_stack/backbone
https://github.com/marionettejs/backbone.marionette/tree/master/docs
#= require js_stack/marionette
http://nytimes.github.io/backbone.stickit/
#= require js_stack/backbone.stickit
https://github.com/thedersen/backbone.validation
#= require js_stack/backbone.validation
http://dhruvaray.github.io/backbone-associations/
#= require js_stack/backbone.associations
https://github.com/wyuenho/backbone-pageable
#= require js_stack/backbone.pageable
https://github.com/powmedia/backbone-deep-model
#= require js_stack/backbone.deepmodel
https://github.com/p3drosola/Backbone.VirtualCollection
#= require js_stack/backbone.virtualcollection
https://github.com/netzpirat/haml_coffee_assets
#= require js_stack/hamlcoffee
https://github.com/derekprior/momentjs-rails
#= require js_stack/moment
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request