aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource
diff options
context:
space:
mode:
authorRashmi Yadav <rays.rashmi@gmail.com>2011-08-04 12:33:56 +0530
committerXavier Noria <fxn@hashref.com>2011-08-13 16:22:15 -0700
commit111347f0cc7b23efba06d29fc374111f9d160f06 (patch)
tree223a27506e1b0fad14edf11fc207e6cf07fec2cf /activeresource
parent0012a9e9d4526c2d7307afb686a0541ba94051a9 (diff)
downloadrails-111347f0cc7b23efba06d29fc374111f9d160f06.tar.gz
rails-111347f0cc7b23efba06d29fc374111f9d160f06.tar.bz2
rails-111347f0cc7b23efba06d29fc374111f9d160f06.zip
The trailing '/' isn't being picked up by Github anyway, and the link works as is.
Diffstat (limited to 'activeresource')
-rw-r--r--activeresource/README.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/README.rdoc b/activeresource/README.rdoc
index b7cf0292f0..6f45fe3598 100644
--- a/activeresource/README.rdoc
+++ b/activeresource/README.rdoc
@@ -36,7 +36,7 @@ Putting Active Resource to use is very similar to Active Record. It's as simple
that inherits from ActiveResource::Base and providing a <tt>site</tt> class variable to it:
class Person < ActiveResource::Base
- self.site = "http://api.people.com:3000/"
+ self.site = "http://api.people.com:3000"
end
Now the Person class is REST enabled and can invoke REST services very similarly to how Active Record invokes