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 = ""

From the rails console of client i can access the DB records
(Record.find :all etc ). But when i started a rails server on this
client using a diff port , i cant retrieve the DB records . Anyone who
have used Activeresource could throw some light on this?

Posted via http://www.ruby-forum.com/.

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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouprubyonrails-talk @
postedJun 8, '12 at 11:36p
activeJun 11, '12 at 3:02p

2 users in discussion

Cyber c.: 1 post Rick: 1 post



site design / logo © 2021 Grokbase