Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
joevandyk
on Jan 27, 2016
|
parent
|
context
|
favorite
| on:
Whatever you set the URL to, that HTTP code will b...
you could use pretty much anything.
rails would be
def status render(text: params[:status], status: params[:status]) end
nchelluri
on Jan 27, 2016
[–]
interestingly, 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 :)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
rails would be