Rails membuat json hanya beberapa atribut

@videos = Video.select("id, name, title").all
render json: @videos
Fragile Fish