# Stopping Default REST support in Rails 2.0.2

**URL:** <https://www.ruby-forum.com/t/stopping-default-rest-support-in-rails-2-0-2/139803>\
**Category:** Rails\
**Created:** [June 7, 2008, 6:34am UTC](https://www.ruby-forum.com/t/stopping-default-rest-support-in-rails-2-0-2/139803 "2008-06-07T06:34:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@rahil](https://www.ruby-forum.com/u/rahil)\
**Post date:** [June 7, 2008, 6:34am UTC](https://www.ruby-forum.com/t/stopping-default-rest-support-in-rails-2-0-2/139803/1 "2008-06-07T06:34:10Z")

</div>

Hi,

Currently i am in learning process and NOT much keen to go with Default  
REST support that comes along with Rails 2.0.2.

Neither I am too keen to make changes in ROUTING.

I am very happy with Controller/Action/ID

Can some one guide me How to do this.  
(1) I would like to stop default support for REST  
(2) I would not like to touch Routing and go with standard way  
(3) Is it possible to go with the way i want as mentioned above…

---

<div class="post-metadata">

**Author:** ![rahil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@rahil](https://www.ruby-forum.com/u/rahil)\
**Post date:** [June 7, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/stopping-default-rest-support-in-rails-2-0-2/139803/2 "2008-06-07T20:10:51Z")

</div>

On 7 Jun 2008, at 05:34, Rahil K. wrote:

> Can some one guide me How to do this.  
> (1) I would like to stop default support for REST  
> (2) I would not like to touch Routing and go with standard way  
> (3) Is it possible to go with the way i want as mentioned above…

Don’t use map.resources or any of the nifty helpers.

Fred

---

<div class="post-metadata">

**Author:** ![rahil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@rahil](https://www.ruby-forum.com/u/rahil)\
**Post date:** [June 8, 2008, 11:58pm UTC](https://www.ruby-forum.com/t/stopping-default-rest-support-in-rails-2-0-2/139803/3 "2008-06-08T23:58:50Z")

</div>

On one hand there is nothing forcing your to use REST. The standard  
routes will still work just fine in the current version of Rails.

On the other hand Rails has always been an opinionated framework. In  
fact that’s part of what makes it work and the team makes no apologies  
for that. The opinion of Rails is that REST is a good thing, and will  
continue down that path for the foreseeable future. That means that  
new developments will expect that you are following RESTful  
principles. It means that using the scaffold generators are going to  
give you RESTful controllers and setup RESTful routes. It means that  
SOAP will take a back seat to REST for building web services into  
Rails applications.

If you decide to diverge from the opinion set forth by the Rails  
framework, you’re going to have to work a little bit harder.

On Jun 7, 12:34 am, Rahil K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
