0 points

Head okay vs ok + Data


dashboard

Mon May 18 2020 19:08:51 GMT+0000 (UTC)

Posted by @ayazahmadtarar #ruby #rubyonrails


head :ok is shorthand for render nothing: true, status: :ok.

https://stackoverflow.com/questions/37512603/rails-attach-some-data-to-head-ok-response

>> Browse more code snippets

more_vert