w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • Bulletin
  • Posts
doc_ruby_on_rails
doc_ruby_on_rails


head

head(action, *args) Instance Public methods Simulate a HEAD request with the given parameters and set/volley the response. See get for more details.

get

get(action, *args) Instance Public methods Simulate a GET request with the given parameters. action: The controller action to call. parameters: The HTTP parameters that you want to pass. This may be nil, a hash, or a string that is appropriately encoded (application/x-www-form-urlencoded or multipart/form-data). session: A hash of parameters to store in the session. This may be nil. flash: A hash of parameters to store in the flash. This may be nil. You can also simulate

delete

delete(action, *args) Instance Public methods Simulate a DELETE request with the given parameters and set/volley the response. See get for more details.

build_response

build_response(klass) Instance Public methods

build_request

build_request() Instance Public methods

tests

tests(controller_class) Instance Public methods Sets the controller class name. Useful if the name can't be inferred from test class. Normalizes controller_class before using. tests WidgetController tests :widget tests 'widget'

prepare_controller_class

prepare_controller_class(new_class) Instance Public methods

determine_default_controller_class

determine_default_controller_class(name) Instance Public methods

controller_class=

controller_class=(new_class) Instance Public methods

controller_class

controller_class() Instance Public methods

Page 374 of 2275

|< < Prev 371 372 373 374 375 376 377 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions