3 ms·
you could use pretty much anything. rails would be def status render(text: params[:status], status: params[:status]) end
by joevandyk 11y ago
you could use pretty much anything.
rails would be
def status
render(text: params[:status], status: params[:status])
end
- nchelluri 11y agointerestingly, i believe your sample code would, in all but the latest version of Rails, leave someone open to some of the Rails CVEs that just got announced yesterday :)