# Where is the source "get(..) post(..).." methods from ActionController::TestCase

**URL:** <https://www.ruby-forum.com/t/where-is-the-source-get-post-methods-from-actioncontroller-testcase/128674>\
**Category:** Rails\
**Created:** [February 10, 2008, 9:19am UTC](https://www.ruby-forum.com/t/where-is-the-source-get-post-methods-from-actioncontroller-testcase/128674 "2008-02-10T09:19:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhm\_tanveer\_hossain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/82dd89/32.png) [@nhm\_tanveer\_hossain](https://www.ruby-forum.com/u/nhm_tanveer_hossain)\
**Post date:** [February 10, 2008, 9:19am UTC](https://www.ruby-forum.com/t/where-is-the-source-get-post-methods-from-actioncontroller-testcase/128674/1 "2008-02-10T09:19:06Z")

</div>

hi,  
i was wondering, where i can find the source for “get(…), post(…)”  
methods. since i can see these are inherited from  
ActionController::TestCase. i had a quick look on the actionpack/lib/  
test\_case.rb and later i found it is inherited from  
ActiveSupport::TestCase and making no exception i had a look on  
activesupport/lib/test\_case.rb

again i found that was inherited from Test::Unit::TestCase. so i think  
these “get, post, put” methods are coming from some other script which  
was added in different place.

is there someone how could help me to tell where i can find the source  
for “get, post, put…” methods of ActionController::TestCase.

best wishes,  
nhm tanveer hossain khan (hasan)  
[http://hasan.we4tech.com](http://hasan.we4tech.com)

---

<div class="post-metadata">

**Author:** ![nhm\_tanveer\_hossain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/82dd89/32.png) [@nhm\_tanveer\_hossain](https://www.ruby-forum.com/u/nhm_tanveer_hossain)\
**Post date:** [February 10, 2008, 12:18pm UTC](https://www.ruby-forum.com/t/where-is-the-source-get-post-methods-from-actioncontroller-testcase/128674/2 "2008-02-10T12:18:52Z")

</div>

On 10 Feb 2008, at 08:18, nhm tanveer hossain khan (hasan) wrote:

> hi,  
> i was wondering, where i can find the source for “get(…), post(…)”  
> methods. since i can see these are inherited from  
> ActionController::TestCase. i had a quick look on the actionpack/lib/  
> test\_case.rb and later i found it is inherited from  
> ActiveSupport::TestCase and making no exception i had a look on  
> activesupport/lib/test\_case.rb

They’re in test\_process.rb, line 361 (if you’re on rails 2.0.2)

Fred

---

<div class="post-metadata">

**Author:** ![nhm\_tanveer\_hossain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/82dd89/32.png) [@nhm\_tanveer\_hossain](https://www.ruby-forum.com/u/nhm_tanveer_hossain)\
**Post date:** [February 10, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/where-is-the-source-get-post-methods-from-actioncontroller-testcase/128674/3 "2008-02-10T18:26:09Z")

</div>

hi fred,  
thanks a lot, i got it .  
%w( get post put delete head );

dynamic language is nice but very dynamic like this is pretty  
problemsome 🙂

best wishes,

On Feb 10, 5:18 pm, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
