Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ekiru
on Dec 20, 2010
|
parent
|
context
|
favorite
| on:
Charging Objects in Ruby
Better than either of those, I think, would be
allow url("your-url-here")
(with reject or something similar for the opposite).
You could even drop the url method and simply write
allow "your-url-here"
if you only need to allow/disallow based on URLs.
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:
You could even drop the url method and simply write
if you only need to allow/disallow based on URLs.