We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8ca165 commit f588ff6Copy full SHA for f588ff6
frameworks/Ruby/rails/app/controllers/hello_world_controller.rb
@@ -6,14 +6,6 @@ class HelloWorldController < ApplicationController
6
MIN_QUERIES = 1 # min number of records that can be retrieved
7
MAX_QUERIES = 500 # max number of records that can be retrieved
8
9
- def plaintext
10
- render plain: 'Hello, World!'
11
- end
12
-
13
- def json
14
- render json: JSON.generate({message: 'Hello, World!'})
15
16
17
def db
18
render json: World.find(random_id)
19
end
0 commit comments