Forum: Ruby on Rails benchmarker and quotation marks

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E98de78bb42013c488fe8aa9d77d2cb1?d=identicon&s=25 Steve Odom (Guest)
on 2006-01-25 21:09
(Received via mailing list)
Hello, just getting around to tuning and the benchmarker script.

I understand, from the rails book, that the command used is:

script/benchmarker 10 "Product.search('version_control')"

Maybe I'm misunderstanding it but what if there are some nested " or '
required inside the command, such as:

script/benchmarket 10 "Question.find(:all, :conditions => 'created_on >
'2006-01-01'')"

That's not a real example, but let's say I want to test a find with some
joins where there will be some nested ".

thanks,

Steve
This topic is locked and can not be replied to.