4 ms·
> However, there are a number of classes in Rails (and presumably other Ruby projects of similar complexity) which can be tricked into evaluating string propert
by scotty79 14y ago
> However, there are a number of classes in Rails (and presumably other Ruby projects of similar complexity) which can be tricked into evaluating string properties as code when they are created, and ActionDispatch::Routing::RouteSet::NamedRouteCollection is one.
And that is just insane. But I come from PHP where eval = evil
Why Rubyists don't care what they are evaling as long as what they personally intend to pass into eval is useful?