meleyal / backbone-on-rails

A simple gem for using Backbone.js with Rails.
MIT License
810 stars 126 forks source link

Updates for Rails 4 compatibility #54

Closed akosipc closed 10 years ago

nigel-lowry commented 10 years ago

I haven't had a chance to check this yet but Rails 4 (or perhaps just its release candidates) has changed the default value for:

ActiveRecord::Base.include_root_in_json

This means it might not give out the Rails flavour RESTful Web service that Backbone.js expects.

meleyal commented 10 years ago

@nigel-lowry This shouldn't be an issue as the gem / scaffolding doesn't request any JSON