aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_resource_basics.textile
blob: 5cf22f8e39d3ad0126878610acba43318cb27e88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
h2. Active Resource Basics

This guide should provide you with all you need to get started managing the connection between business objects and RESTful web services. It implements a way to map web-based resources to local objects with CRUD semantics.

endprologue.

WARNING. This Guide is based on Rails 3.0. Some of the code shown here will not work in earlier versions of Rails.

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. Changelog

* July 30, 2011: Initial version by "Vishnu Atrai":http://github.com/vatrai