I don't know about something pre-built... But it seems to me that what you are looking for is already being done via Active Record. So have you looked at using Active Record inside Sinatra?
It would not do it automatically, but could easily be scripted, and give you an incredible level of control.
Kevin
Are there any tools that can be used to inspect a MySQL database and generate code for pairs of JSON/REST interfaces for selected tables — both client and server sides?
-David Schwartz
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss