# Getting up to speed on rest with edge rails

**URL:** <https://www.ruby-forum.com/t/getting-up-to-speed-on-rest-with-edge-rails/111600>\
**Category:** Rails\
**Created:** [August 9, 2007, 12:12am UTC](https://www.ruby-forum.com/t/getting-up-to-speed-on-rest-with-edge-rails/111600 "2007-08-09T00:12:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![snacktime](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Post date:** [August 9, 2007, 12:12am UTC](https://www.ruby-forum.com/t/getting-up-to-speed-on-rest-with-edge-rails/111600/1 "2007-08-09T00:12:32Z")

</div>

Other then digging through the edge rails docs and trying to put it  
all together that way, is there a good resource for using REST in edge  
rails? It’s what I don’t know that I’m worried about. I don’t want  
to get too far into the implementation only to find out I missed  
something rather important.

Chris

---

<div class="post-metadata">

**Author:** ![snacktime](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Post date:** [August 9, 2007, 10:45am UTC](https://www.ruby-forum.com/t/getting-up-to-speed-on-rest-with-edge-rails/111600/2 "2007-08-09T10:45:12Z")

</div>

Hi Chris,

> Other then digging through the edge rails docs and trying to put it  
> all together that way, is there a good resource for using REST in edge  
> rails? It’s what I don’t know that I’m worried about. I don’t want  
> to get too far into the implementation only to find out I missed  
> something rather important.

Using REST in Edge Rails isn’t all too different from what’s currently  
in Rails 1.2 – at least when you look at it from a RESTful development  
perspective. Rethinking how you build up controllers around resources  
really is what it’s all about. The rest is technological niceties and  
syntactic sugar.

A couple of pointers:

- AWDwR 2.0 has a short but sweet introduction into RESTful  
development.

- Edge Rails no longer has “plain scaffolds” and “resource scaffolds”.  
It’s a scaffold, period, and it’s all good and RESTful.

- Edge Rails has a new syntax for nested resources that is explained  
very well in config/routes.rb. (Debate about nested resources rages on  
in Ruby-core.)

- There are a lot of blogging posts on “refactoring rest”. One article  
by Scott R. in particular shows how you can rethink a fairly  
large-scale application into the world of REST.

- Finally, if you are looking to consume resources as a web service,  
there are excellent blog postings and conference slides available on  
ActiveResource.

That should get you started. Don’t worry about getting into the  
implementation to find out that you can do better. That’s one aspect of  
agility that’s a prize for a developer to have, and a thing to enjoy of  
Rails.

Good luck in your RESTful journeys! 🙂

–  
Roderick van Domburg

> **[De domeinnaam Nedforce.nl is te koop.](http://www.nedforce.nl)**
>
> Deze mooie domeinnaam kan al over een paar minuten van jou zijn. Betalen gaat eenvoudig en vertrouwd via iDEAL. Direct na de betaling ontvang je de verhuiscode per e-mail en kun je aan de slag.
