|Project owner:||Kris Zyp, Travis Tilley|
RailsStore extends the JsonRestStore to interact properly with Ruby on Rail's REST interface.
RailsStore provides the same functionality as the JsonRestStore except that it formats the request URLs to Rail's specifications, post-pending URLs with .json extension to indicate that JSON format is being requested. It will also translate Dojo Data sort attributes to query parameters for Rail's will_paginate module.
See dojox/data/JsonRestStore for usage from Dojo. For setting up the REST interaction from Ruby on Rail's see Ruby code that is available here: http://github.com/ttilley/railsstore/tree/master.
See dojox/data/JsonRestStore for examples of Dojo usage. The attached Ruby code should contain examples on how to setup Rails.