diff --git a/index.html b/index.html index 79125ccb..d7566ac9 100644 --- a/index.html +++ b/index.html @@ -1242,9 +1242,10 @@ alert(solaris.url());

- If you're working with a Rails backend, you'll notice that Rails' default - to_json implementation includes a model's attributes under a - namespace. To disable this behavior for seamless Backbone integration, set: + If you're working with a Rails backend that has a version prior to 3.1, + you'll notice that its default to_json implementation includes + a model's attributes under a namespace. To disable this behavior for + seamless Backbone integration, set:

@@ -2122,8 +2123,9 @@ end
 

- One more tip for Rails integration is to disable the default namespacing for - to_json calls on models by setting ActiveRecord::Base.include_root_in_json = false + One more tip for integrating Rails versions prior to 3.1 is to disable + the default namespacing for to_json calls on models by setting + ActiveRecord::Base.include_root_in_json = false

@@ -3542,8 +3544,9 @@ Inbox.messages.add(newMessage);

- By default, Rails adds an extra layer of wrapping around the JSON representation - of models. You can disable this wrapping by setting: + By default, Rails versions prior to 3.1 add an extra layer of wrapping + around the JSON representation of models. You can disable this wrapping + by setting: