SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Enthusiast Stevenwulf's Avatar
    Join Date
    May 2002
    Location
    Berkeley
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need Help locating method in Rails API

    I'm trying to find documentation for the get(), post(), delete() methods that can be used in functional tests. The "Agile Web Development" book states that these methods are convenience methods loaded by test_helper.rb.

    Are the methods documented?

    Thanks,
    Steven

  2. #2
    SitePoint Evangelist
    Join Date
    Jun 2004
    Location
    California
    Posts
    440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They are documented right around here:
    http://manuals.rubyonrails.com/read/chapter/28#page72

    This is the best documentation I've found for them.
    Happy switcher to OS X running on a MacBook Pro.

    Zend Certified Engineer

  3. #3
    Mal Reynolds Mandibal's Avatar
    Join Date
    Aug 2003
    Location
    Columbus
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    or the API documentation:
    http://api.rubyonrails.org/

    then in the bottom frame just scroll through all the methods of Rails until you find get, post and delete.
    Erh

  4. #4
    SitePoint Enthusiast Stevenwulf's Avatar
    Join Date
    May 2002
    Location
    Berkeley
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys.

    @xmitchx, exactly what I was looking for.

    @Mandibal, I think the methods in the api are for the IntegrationTest class.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •