nhm tanveer hossain khan (hasan)
2008-Feb-10 08:18 UTC
where is the source "get(..) post(..).." methods from ActionController::TestCase
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Feb-10 11:18 UTC
Re: where is the source "get(..) post(..).." methods from ActionController::TestCase
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> 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 > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
nhm tanveer hossain khan (hasan)
2008-Feb-10 17:25 UTC
Re: where is the source "get(..) post(..).." methods from ActionController::TestCase
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 Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 > > > 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---