update.json.jbuilder 104 Bytes Edit 1 2 3 4 5 json.data do json.partial! "dbs/db", db: @db end json.partial! "helpers/messages", service: @service