Displaying 1 result from an estimated 1 matches for "1wlorcq1xp8j".
2012 Jun 08
1
Using activeresource for client/server model
Hi,
i have a rails app running which has a DB of records. I wanted to
develop a client app which can
1) view the records
2) edit them
So i have created a new rails app (for this client) and edited the model
file "record.rb"
class Record < ActiveResource::Base
self.site = "http://0.0.0.0:3000"
end
From the rails console of client i can access the DB records
(Record.find