search for: all_symbols

Displaying 2 results from an estimated 2 matches for "all_symbols".

Did you mean: add_symbols
2013 Apr 08
0
Safely persisting query parameters in Rails 3.1
...ails 3.2, however, you can do this: include Rails.application.routes.url_helpersurl_for action: ''index'', controller: ''employees'', host: ''foo.bar'', params: {''eee'' => 3}# => "http://foo.bar/employees?eee=3"Symbol.all_symbols.map(&:to_s).include? ''eee''# => false In other words, you can pass `params: request.query_parameters` to `url_for` to avoid the potential DOS issue. However we still support Rails 3.0 and 3.1, and they completely ignore `:params`. Save for monkeypatching, has anyone fo...
2005 May 12
26
performance update
I have made additional progress with regard to performance. My latest data: configuration 1: r121.latest configuration 2: r121p.latest page c1 real c2 real c1 r/s c2 r/s c1/c2 /empty/index 6.75525 1.71983 148.0 581.5 3.93 /welcome/index 6.89044 1.89244 145.1 528.4 3.64 /rezept/index 4.99573