Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

configuration for active resource

  • Loading branch information...
commit 8d1c642cae05cbf4c4fa44b9f7afb7c7a3727bd3 1 parent e898556
@vatrai vatrai authored fxn committed
Showing with 11 additions and 0 deletions.
  1. +11 −0 railties/guides/source/active_resource_basics.textile
11 railties/guides/source/active_resource_basics.textile
@@ -10,6 +10,17 @@ h3. Introduction
Active Resource allows you to connect with RESTful web services. So, in Rails, Resource classes inherited from +ActiveResource::Base+ and live in +app/models+.
+h3. Configuration and Usage
+Putting Active Resource to use is very similar to Active Record. It's as simple as creating a model class
+that inherits from ActiveResource::Base and providing a <tt>site</tt> class variable to it:
+class Person < ActiveResource::Base
+ = ""
h3. Changelog
* July 30, 2011: Initial version by "Vishnu Atrai":
Please sign in to comment.
Something went wrong with that request. Please try again.