Fundaments of Rails Static Request

Capsule Coding
2 min readSep 17, 2020

Below are the tasks that you will need to complete in order to finish the lab:

  1. Map a route to a controller/action(* Create a static controller that inherits from the application controller and contains the `hello_world` action. You can have the call to the view file occur using either the implicit or explicit processes.)

2. Draw a route(* Integrate a route for `localhost:3000/hello_world`.)

3. Render (implicitly or explicitly) a static template(SEE 1&4)

4. Create a static template(* Create a file in the `views` directory that will be called by the static controller’s `hello_world` action, and add the heading `<h1>Hello World</h1>` to the file. The test is case sensitive, so make sure you enter it _exactly_ as shown.)

--

--