Warning, I'm posting all of it so it's going to be long:

Extracted source (around line #11):

8:
9:           Category ID: <%= cat_id = Category.find_by_name
(CGI::unescape(request.request_uri.slice
(19,request.request_uri.length))).id %>
10:           <% category_id = params[:category_id] %>
11:           <div class="filter">Subcategory:<filter-menu param-
name="subcategory" options="&Subcategory.find(:all, :conditions =>
'category_id = cat_id')" /></div>
12:
13:           <div id="zeroing"><a href="/products">Clear</a></div>
14:       </div>
RAILS_ROOT: /Users/isaacshoghat/Sites/shvadent

Application Trace | Framework Trace | Full Trace
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/abstract_adapter.rb:188:in `log'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/mysql_adapter.rb:309:in `execute'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/mysql_adapter.rb:563:in `select'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/abstract/database_statements.rb:7:in
`select_all_without_query_cache'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/abstract/query_cache.rb:60:in `select_all'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/abstract/query_cache.rb:81:in `cache_sql'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/abstract/query_cache.rb:60:in `select_all'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
base.rb:635:in `find_by_sql'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/model.rb:294:in
`find_by_sql'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
base.rb:1490:in `find_every'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
base.rb:589:in `find'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/model.rb:287:in `find'
app/views/products/index.dryml:11:in `render_page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
app/views/products/index.dryml:4:in `render_page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:456:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:456:in `override_and_call_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:456:in `override_and_call_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:438:in `call_tag_parameter'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_plus.dryml:5:in
`table_plus'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_plus.dryml:4:in
`table_plus'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_plus.dryml:1:in
`table_plus'
app/views/products/index.dryml:3:in `render_page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
app/views/products/index.dryml:2:in `render_page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:434:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:434:in `call_tag_parameter'
app/views/products/index.dryml:40:in `index_page__for_product'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
app/views/products/index.dryml:37:in `index_page__for_product'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:468:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:468:in `override_and_call_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
tag_parameters.rb:21:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
tag_parameters.rb:21:in `method_missing'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/
rapid_document_tags.dryml:21:in `section'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/
rapid_document_tags.dryml:20:in `section'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:475:in `send'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:475:in `override_and_call_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:438:in `call_tag_parameter'
app/views/products/index.dryml:37:in `index_page__for_product'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
app/views/products/index.dryml:32:in `index_page__for_product'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:466:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:466:in `override_and_call_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
tag_parameters.rb:21:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
tag_parameters.rb:21:in `method_missing'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/
rapid_document_tags.dryml:21:in `section'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/
rapid_document_tags.dryml:20:in `section'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:475:in `send'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:475:in `override_and_call_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:438:in `call_tag_parameter'
app/views/taglibs/application.dryml:19:in `page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
app/views/taglibs/application.dryml:17:in `page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:468:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:468:in `override_and_call_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
tag_parameters.rb:21:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
tag_parameters.rb:21:in `method_missing'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/
rapid_document_tags.dryml:21:in `section'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/
rapid_document_tags.dryml:20:in `section'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:475:in `send'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:475:in `override_and_call_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:438:in `call_tag_parameter'
app/views/taglibs/application.dryml:17:in `page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
app/views/taglibs/application.dryml:15:in `page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:379:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:379:in
`call_tag_parameter_with_default_content'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:379:in
`call_tag_parameter_with_default_content'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:414:in `call_tag_parameter'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/
rapid_document_tags.dryml:13:in `section_group'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/
rapid_document_tags.dryml:13:in `section_group'
app/views/taglibs/application.dryml:15:in `page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
app/views/taglibs/application.dryml:14:in `page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:434:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:434:in `call_tag_parameter'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:29:in
`page_without_a7a00613d7b1'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
scoped_variables.rb:20:in `new_scope'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:21:in
`page_without_a7a00613d7b1'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:20:in
`page_without_a7a00613d7b1'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:458:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:458:in `override_and_call_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:458:in `override_and_call_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:438:in `call_tag_parameter'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:20:in
`page_without_a7a00613d7b1'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:3:in
`page_without_a7a00613d7b1'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:388:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:388:in
`call_tag_parameter_with_default_content'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
tag_parameters.rb:21:in `call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
tag_parameters.rb:21:in `method_missing'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/core.dryml:55:in `do_'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/core.dryml:55:in `do_'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:392:in `send'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:392:in
`call_tag_parameter_with_default_content'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:414:in `call_tag_parameter'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:
104:in `html'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
scoped_variables.rb:20:in `new_scope'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:
104:in `html'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:99:in
`html'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:3:in
`page_without_a7a00613d7b1'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:1:in
`page_without_a7a00613d7b1'
app/views/taglibs/themes/clean/clean.dryml:2:in
`page_without_ad97d1ef77aa'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
app/views/taglibs/themes/clean/clean.dryml:1:in
`page_without_ad97d1ef77aa'
app/views/taglibs/application.dryml:13:in `page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
app/views/taglibs/application.dryml:12:in `page'
app/views/products/index.dryml:30:in `index_page__for_product'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
app/views/products/index.dryml:29:in `index_page__for_product'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:200:in `send'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:200:in `call_polymorphic_tag'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:52:in
`index_page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:339:in `_tag_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/taglibs/rapid_pages.dryml:49:in
`index_page'
app/views/products/index.dryml:1:in `render_page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:278:in `new_object_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:259:in `new_context'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_environment.rb:266:in `new_object_context'
app/views/products/index.dryml:1:in `render_page'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_handler.rb:21:in `render_for_rails22'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_handler.rb:110:in `render_dryml'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_handler.rb:88:in `render'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_view/
template.rb:73:in `render_template'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_view/base.rb:
256:in `render'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:1174:in `render_for_file_without_dryml'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/dryml/
template_handler.rb:67:in `render_for_file'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:940:in `render_without_benchmark'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
benchmarking.rb:51:in `render_without_hobo_model'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
core_ext/benchmark.rb:8:in `realtime'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
benchmarking.rb:51:in `render_without_hobo_model'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/model_controller.rb:
752:in `render'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:1248:in `default_render'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:1254:in `perform_action_without_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
filters.rb:617:in `call_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
filters.rb:638:in `run_before_filters'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/controller.rb:22:in
`call'
/Library/Ruby/Gems/1.8/gems/hobo-0.8.5/lib/hobo/controller.rb:22:in
`included_in_class'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
callbacks.rb:182:in `call'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
callbacks.rb:182:in `evaluate_method'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
filters.rb:184:in `call'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
filters.rb:635:in `run_before_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
filters.rb:615:in `call_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
filters.rb:610:in `perform_action_without_benchmark'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
benchmarking.rb:68:in `perform_action_without_rescue'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
benchmarking.rb:68:in `perform_action_without_rescue'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
rescue.rb:136:in `perform_action_without_caching'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
caching/sql_cache.rb:13:in `perform_action'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/abstract/query_cache.rb:34:in `cache'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
query_cache.rb:8:in `cache'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
caching/sql_cache.rb:12:in `perform_action'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:524:in `send'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:524:in `process_without_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
filters.rb:606:in `process_without_session_management_support'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
session_management.rb:134:in `process'
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:392:in `process'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:142:in `load_without_new_constant_marking'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:142:in `load'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:521:in `new_constants_in'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:142:in `load'
/Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/commands/servers/
mongrel.rb:64
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:153:in `require'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:521:in `new_constants_in'
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:153:in `require'
/Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49


On Feb 23, 11:06 am, Tiago Franco <[email protected]> wrote:
> Hi,
>
> What's the stacktrace?
>
> TF
>
> On Feb 22, 7:43 pm, isaac <[email protected]> wrote:
>
>
>
> > (I'm sorry for spamming you with this, and I know it's not necessarily
> > hobo related but it seem reasonable that some of you can answer this).
>
> > this works:
> >           <% cat_name = CGI::unescape(request.request_uri.slice
> > (19,request.request_uri.length)) %>
> >           <% cat_id = Category.find_by_name(cat_name).id %>
> >           <% category_id = params[:category_id] %>
> >           <div class="filter">Subcategory:<filter-menu param-
> > name="subcategory" options="&Subcategory.find(:all, :conditions =>
> > 'category_id = 16227')" /></div>
>
> > this doesn't:
> >           <% cat_name = CGI::unescape(request.request_uri.slice
> > (19,request.request_uri.length)) %>
> >           <%= cat_id = Category.find_by_name(cat_name).id %>
> >           <% category_id = params[:category_id] %>
> >           <div class="filter">Subcategory:<filter-menu param-
> > name="subcategory" options="&Subcategory.find(:all, :conditions =>
> > 'category_id = cat_id')" /></div>
>
> > the only change is that I entered the "cat_id" instead of the arbitary
> > number that was there. I think it's probably the way that it is
> > entered but I can't find a proper way of making this thing work.
>
> > (I know it's not a very elegant solution for what I'm trying to do,
> > but I'm lacking the skills to find anything better)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to