Shak wrote: > I'm looking into using RoR to develop a front end for an existing > system - one which is accessible via JSON-RPC. As such, there won't be > any data management performed directly by the web application itself, > all would be done via these RPC calls.
Models are thin wrappers on external entities. Rails offers ActiveRecord as the One True Best external object to wrap. That's the convention. To bypass the convention, simply do not use script/generate model. Just write the .rb file you want in app/models, put a class inside with the same name, and make it use whatever external entities you want to link to. All the rest of Rails will work the same... -- Phlip --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

