class UsersController < ApplicationController
def index
hashmap_or_array = [{ name: "foo", email: "
[email protected]" }]
respond_to do |format|
format.html { render html: "Hello World" }
format.json { render json: hashmap_or_array }
en...