diff --git a/README.textile b/README.textile index dbca4ba..1fac926 100644 --- a/README.textile +++ b/README.textile @@ -60,6 +60,13 @@ pass a different URL in, you can do that as well: edit_in_place([@list, @item], :name, :url => weird_item_path(@item)) +h4. If you're using a newer version of Rails... + +You might need to tell ActiveRecord not to include the root while serializing +to JSON. To do so, put this line in an initializer, or environment.rb: + + ActiveRecord::Base.include_root_in_json = false + h3. TODO * Escape key should cancel (simple event handler)