News for hackers. Stuff that matters.
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by jc123 on Wednesday November 09, 2011 @05:01AM (#3214955)
How does this compare with backbone-rails?https://github.com/codebrew/backbone-rails
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by ryanfitz on Thursday November 10, 2011 @10:53PM (#3223304)
I'm the author of backbone-rails, one of the main differences that I see is I provide a Backbone.sync method that plays nicely with rails conventions of namespacing your put/post params by model name. It also adds csrf-token to the header in the request for you.

However, I think both of our projects are mainly just about helping users learn how to use backbone.js with rails. I try to balance the pull requests I accept based on usefulness vs will this actually help or confuse a new user trying to get started with rails and backbone. Use either one that makes more sense to you, as long as we helped some users get started with backbone and rails then I think we did our job.

Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by meleyal on Wednesday November 09, 2011 @11:26AM (#3216108)
My main focus was to follow the thoughtbot naming conventions and keep it simple.

The specific differences are: different naming conventions, fewer generators, generates Coffee or JS.

I wrote a short comparison here: https://github.com/meleyal/backbone-on-rails/wiki/How-is-thi...

Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by quartzmo on Wednesday November 09, 2011 @02:07PM (#3216885)
I published my notes on the differences as a blog post, "backbone-on-rails vs backbone-rails vs rails-backbone". http://www.coffeescriptlove.com/2011/11/backbone-on-rails-vs...
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by klaut on Wednesday November 09, 2011 @05:36AM (#3215019)
I think backbone-rails comes with the older 0.5.0 version of backbone.js, whereas this one has 0.5.3 version. But i haven't tried it so not sure of other differences.
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by lobo_tuerto on Thursday November 10, 2011 @07:53AM (#3219871)
No, backbone-rails comes with Backbonejs' latest version: https://github.com/codebrew/backbone-rails/blob/master/vendo...

It seems like the difference boils down to directory structure and that backbone-rails includes tests.

Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by ryanfitz on Thursday November 10, 2011 @11:01PM (#3223327)
I just updated the backbone-rails readme to reflect that it uses backbone.js 0.5.3
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by scottschulthess on Wednesday November 09, 2011 @09:18AM (#3215503)
This one says it supports coffeescript or javascript scaffolding(backbone-rails only supports coffeescript scaffolding right now)
Re:Backbone on Rails: a ruby gem based on thoughtbot's 'Back... by thibaut_barrere on Wednesday November 09, 2011 @09:04AM (#3215461)
not sure, but if anyone has a good comparison I'm interested.