Displaying 3 results from an estimated 3 matches for "keyword_search".
2007 Apr 13
0
[953] branches/wxruby2/wxwidgets_282: Additions to HelpController API 2.6 -> 2.8
...span><span class="cx"> * "HelpController#get_frame_parameters":#HelpController_getframeparameters
</span><ins>+* "HelpController#get_parent_window":#HelpController_getparentwindow
</ins><span class="cx"> * "HelpController#keyword_search":#HelpController_keywordsearch
</span><span class="cx"> * "HelpController#load_file":#HelpController_loadfile
</span><span class="cx"> * "HelpController#on_quit":#HelpController_onquit
</span><span class="cx">...
2007 Sep 11
3
Production mode bug with ruby/amazon
...uby/1.8/net/http.rb:1500:in `exec''
/usr/lib/ruby/1.8/net/http.rb:1044:in `request''
/usr/lib/ruby/1.8/net/http.rb:771:in `get''
/lib/amazon/search.rb:973:in `get_page''
/lib/amazon/search.rb:1013:in `search''
/lib/amazon/search.rb:734:in `keyword_search''
/app/models/asset.rb:98:in `amazon_search''
The timeout error comes from a timeout statement I''ve thrown around
the whole thing to hopefully catch the error. Without it, the call
just times out and I lose the thread completely and have to restart
the mongrel cluster...
2007 Apr 04
0
error occurred while evaluating nil.accepts
...:Search::Request::TypeError (non-existent/unimplemented search
type: accepts):
Any advice?
Thanks,
--Dean
def index
unless params[:keywords].nil?
@books = Array.new
request = Amazon::Search::Request.new( DEV_TOKEN, ASSOCIATE_ID,
''us'' )
response = request.keyword_search( params[:keywords] ) do |
product|
@books.push( Book.new( <snip snip> ) )
end
end
respond_to do |f|
f.html { }
f.js { }
end
end
def show
@book = Book.find(params[:id])
respond_to do |f|
f.html { }
f.xml { render :xml => @b...