Table-plus just *shows* pagination nav if you pass it a paginated collection - it doesn't do any of the actual finding.
You should be able to append the paginate call to the end of the chain in the controller.
Also, I'd second Kevin's recommendation - I've run into this pattern a number of times in my apps, where a "parent" model is very thin (a couple fields at most) but the children are far more important. In that case, I'll typically change places that link to the parent model to instead point to an auto_actions_for-style action (/floors/:floor_id/spaces rather than /floors/:floor_id). You can still show the relevant floor attributes and edit link up at the top of the page, and things like pagination are much more logical (and work out-of-the-box, as will things like 'New space' links).
--Matt Jones
<index-for-floor-page>
<collection: replace>
<div>
<table-plus fields="name, space_dwgid"/>
</div>
</collection:>
</index-for-floor-page>
undefined method `editable_by?' for #<WillPaginate::Collection:0x7fef7032fa48>
Actually, the documentation is seriously lacking here - you don't actually want to filter the records before passing them into hobo_index_for.
The option you're looking for is :scope - but it takes a weird set of options that are formatted as an array of arrays:
hobo_index_for :floor, :scope => [ [:search, params[:search], :name], [:order_by, parse_sort_param(...)] ]
My original comment on this patch is WRONG:
The hash syntax mentioned there will NOT work at present, but the arrays above will.
--Matt Jones
> Grr yes that was an error in my code but doesn't fix the editable? problem.
I tried reproducing this today and couldn't get it to happen - what version are you running? A full stack trace would also be really helpful.
--Matt Jones
Showing /home/bsleys/HazMatTracking/app/views/spaces/index_for_floor.dryml where line #29 raised:
undefined method `editable_by?' for #<WillPaginate::Collection:0x7f0b11d8c7a0>Extracted source (around line #29):
26: New Space
27: </a>
28:
29: <table-plus fields="this, space_dwgid">
30: <controls:/>
31: </table-plus>
32:
Rails.root: /home/bsleys/HazMatTracking
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/helper.rb:221:in `can_edit?'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_forms.dryml:187:in `form__base'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_forms.dryml:162:in `form__base'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:383:in `send'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:383:in `call_tag_parameter_with_default_content'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:405:in `call_tag_parameter'
app/views/taglibs/auto/rapid/forms.dryml:88:in `form__for_space_without_a625b6122547'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/auto/rapid/forms.dryml:87:in `form__for_space_without_a625b6122547'
app/views/taglibs/application.dryml:168:in `form__for_space'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/application.dryml:163:in `form__for_space'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:199:in `send'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:199:in `call_polymorphic_tag'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_forms.dryml:167:in `form'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_forms.dryml:164:in `form'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:466:in `send'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:466:in `override_and_call_tag'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:429:in `call_tag_parameter'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_plus.dryml:16:in `table_plus'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_plus.dryml:14:in `table_plus'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:449:in `call'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:449:in `override_and_call_tag'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:449:in `override_and_call_tag'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:429:in `call_tag_parameter'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_plus.dryml:14:in `table_plus'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_plus.dryml:13:in `table_plus'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_plus.dryml:10:in `table_plus'
app/views/spaces/index_for_floor.dryml:29:in `render_page'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
app/views/spaces/index_for_floor.dryml:23:in `render_page'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/tag_parameters.rb:19:in `call'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/tag_parameters.rb:19:in `method_missing'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_document_tags.dryml:21:in `section'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_document_tags.dryml:20:in `section'
app/views/spaces/index_for_floor.dryml:23:in `render_page'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
app/views/spaces/index_for_floor.dryml:22:in `render_page'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:457:in `call'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:457:in `override_and_call_tag'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/tag_parameters.rb:19:in `call'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/tag_parameters.rb:19:in `method_missing'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_document_tags.dryml:21:in `section'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_document_tags.dryml:20:in `section'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:466:in `send'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:466:in `override_and_call_tag'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:429:in `call_tag_parameter'
app/views/taglibs/auto/rapid/pages.dryml:1229:in `index_for_floor_page__for_space'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
app/views/taglibs/auto/rapid/pages.dryml:1205:in `index_for_floor_page__for_space'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:457:in `call'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:457:in `override_and_call_tag'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/tag_parameters.rb:19:in `call'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/tag_parameters.rb:19:in `method_missing'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_document_tags.dryml:21:in `section'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_document_tags.dryml:20:in `section'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:466:in `send'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:466:in `override_and_call_tag'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:429:in `call_tag_parameter'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_pages.dryml:47:in `page_without_aaa82d3a9ca5'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/scoped_variables.rb:20:in `new_scope'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_pages.dryml:39:in `page_without_aaa82d3a9ca5'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_pages.dryml:38:in `page_without_aaa82d3a9ca5'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:449:in `call'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:449:in `override_and_call_tag'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:449:in `override_and_call_tag'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:429:in `call_tag_parameter'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_pages.dryml:38:in `page_without_aaa82d3a9ca5'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_pages.dryml:16:in `page_without_aaa82d3a9ca5'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:379:in `call'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:379:in `call_tag_parameter_with_default_content'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/tag_parameters.rb:19:in `call'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/tag_parameters.rb:19:in `method_missing'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/taglibs/core.dryml:65:in `do_'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/taglibs/core.dryml:65:in `do_'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:383:in `send'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:383:in `call_tag_parameter_with_default_content'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:405:in `call_tag_parameter'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_pages.dryml:166:in `html'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/scoped_variables.rb:20:in `new_scope'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_pages.dryml:166:in `html'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_pages.dryml:161:in `html'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_pages.dryml:16:in `page_without_aaa82d3a9ca5'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/rapid/taglibs/rapid_pages.dryml:14:in `page_without_aaa82d3a9ca5'
app/views/taglibs/themes/clean/clean.dryml:2:in `page_without_a2cb9cd3a217'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/themes/clean/clean.dryml:1:in `page_without_a2cb9cd3a217'
app/views/taglibs/application.dryml:14:in `page'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/application.dryml:13:in `page'
app/views/taglibs/auto/rapid/pages.dryml:1203:in `index_for_floor_page__for_space'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/auto/rapid/pages.dryml:1202:in `index_for_floor_page__for_space'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:199:in `send'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:199:in `call_polymorphic_tag'
app/views/taglibs/auto/rapid/pages.dryml:1206:in `index_for_floor_page'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/auto/rapid/pages.dryml:1203:in `index_for_floor_page'
app/views/spaces/index_for_floor.dryml:1:in `render_page'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:268:in `new_object_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
actionpack (3.0.7) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:249:in `new_context'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml/template_environment.rb:256:in `new_object_context'
app/views/spaces/index_for_floor.dryml:1:in `render_page'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/dryml/lib/dryml.rb:75:in `call_render'
app/views/spaces/index_for_floor.dryml:1:in `_app_views_spaces_index_for_floor_dryml___555342512_69842760096560_0'
actionpack (3.0.7) lib/action_view/template.rb:135:in `send'
actionpack (3.0.7) lib/action_view/template.rb:135:in `render'
activesupport (3.0.7) lib/active_support/notifications.rb:54:in `instrument'
actionpack (3.0.7) lib/action_view/template.rb:127:in `render'
actionpack (3.0.7) lib/action_view/render/rendering.rb:59:in `_render_template'
activesupport (3.0.7) lib/active_support/notifications.rb:52:in `instrument'
activesupport (3.0.7) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.0.7) lib/active_support/notifications.rb:52:in `instrument'
actionpack (3.0.7) lib/action_view/render/rendering.rb:56:in `_render_template'
actionpack (3.0.7) lib/action_view/render/rendering.rb:26:in `render'
actionpack (3.0.7) lib/abstract_controller/rendering.rb:115:in `_render_template'
actionpack (3.0.7) lib/abstract_controller/rendering.rb:109:in `render_to_body'
actionpack (3.0.7) lib/action_controller/metal/renderers.rb:47:in `render_to_body'
actionpack (3.0.7) lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
actionpack (3.0.7) lib/abstract_controller/rendering.rb:102:in `render_to_string'
actionpack (3.0.7) lib/abstract_controller/rendering.rb:93:in `render'
actionpack (3.0.7) lib/action_controller/metal/rendering.rb:17:in `render'
actionpack (3.0.7) lib/action_controller/metal/instrumentation.rb:40:in `render_without_hobo_model'
activesupport (3.0.7) lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/benchmark.rb:308:in `realtime'
activesupport (3.0.7) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.0.7) lib/action_controller/metal/instrumentation.rb:40:in `render_without_hobo_model'
actionpack (3.0.7) lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
activerecord (3.0.7) lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
actionpack (3.0.7) lib/action_controller/metal/instrumentation.rb:39:in `render_without_hobo_model'
/home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-9702117860c6/hobo/lib/hobo/controller/model.rb:813:in `render'
actionpack (3.0.7) lib/action_controller/metal/implicit_render.rb:14:in `default_render'
actionpack (3.0.7) lib/action_controller/metal/implicit_render.rb:6:in `send_action'
actionpack (3.0.7) lib/abstract_controller/base.rb:150:in `process_action'
actionpack (3.0.7) lib/action_controller/metal/rendering.rb:11:in `process_action'
actionpack (3.0.7) lib/abstract_controller/callbacks.rb:18:in `process_action'
activesupport (3.0.7) lib/active_support/callbacks.rb:461:in `_run__1003734114__process_action__1669773789__callbacks'
activesupport (3.0.7) lib/active_support/callbacks.rb:410:in `send'
activesupport (3.0.7) lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
activesupport (3.0.7) lib/active_support/callbacks.rb:94:in `send'
activesupport (3.0.7) lib/active_support/callbacks.rb:94:in `run_callbacks'
actionpack (3.0.7) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.0.7) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
activesupport (3.0.7) lib/active_support/notifications.rb:52:in `instrument'
activesupport (3.0.7) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.0.7) lib/active_support/notifications.rb:52:in `instrument'
actionpack (3.0.7) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.0.7) lib/action_controller/metal/rescue.rb:17:in `process_action'
actionpack (3.0.7) lib/abstract_controller/base.rb:119:in `process'
actionpack (3.0.7) lib/abstract_controller/rendering.rb:41:in `process'
actionpack (3.0.7) lib/action_controller/metal.rb:138:in `dispatch'
actionpack (3.0.7) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.0.7) lib/action_controller/metal.rb:178:in `action'
actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:62:in `call'
actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:27:in `call'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:89:in `optimized_each'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:493:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.3) lib/rack/methodoverride.rb:24:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/flash.rb:182:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/cookies.rb:302:in `call'
activerecord (3.0.7) lib/active_record/query_cache.rb:32:in `call'
activerecord (3.0.7) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
activerecord (3.0.7) lib/active_record/query_cache.rb:12:in `cache'
activerecord (3.0.7) lib/active_record/query_cache.rb:31:in `call'
activerecord (3.0.7) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/callbacks.rb:46:in `call'
activesupport (3.0.7) lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
actionpack (3.0.7) lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.3) lib/rack/sendfile.rb:107:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
railties (3.0.7) lib/rails/rack/logger.rb:13:in `call'
rack (1.2.3) lib/rack/runtime.rb:17:in `call'
activesupport (3.0.7) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.2.3) lib/rack/lock.rb:11:in `call'
rack (1.2.3) lib/rack/lock.rb:11:in `synchronize'
rack (1.2.3) lib/rack/lock.rb:11:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/static.rb:30:in `call'
railties (3.0.7) lib/rails/application.rb:168:in `call'
railties (3.0.7) lib/rails/application.rb:77:in `send'
railties (3.0.7) lib/rails/application.rb:77:in `method_missing'
railties (3.0.7) lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.2.3) lib/rack/content_length.rb:13:in `call'
rack (1.2.3) lib/rack/handler/webrick.rb:52:in `service'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
/home/bsleys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
rack (1.2.3) lib/rack/handler/webrick.rb:13:in `run'
rack (1.2.3) lib/rack/server.rb:217:in `start'
railties (3.0.7) lib/rails/commands/server.rb:65:in `start'
railties (3.0.7) lib/rails/commands.rb:30
railties (3.0.7) lib/rails/commands.rb:27:in `tap'
railties (3.0.7) lib/rails/commands.rb:27
script/rails:6:in `require'
script/rails:6
ruby-debug-ide (0.4.17.beta5) lib/ruby-debug-ide.rb:112:in `debug_load'
ruby-debug-ide (0.4.17.beta5) lib/ruby-debug-ide.rb:112:in `debug_program'
ruby-debug-ide (0.4.17.beta5) bin/rdebug-ide:87
-e:1:in `load'
-e:1
This was the giveaway line in the trace:
app/views/taglibs/application.dryml:168:in `form__for_space'
Can you try adding this to your table-plus tag to see if it fixes the problem (inside the tag, natch):
<search-form: with="&nil" />
In my test app where I redefined the "Task" form this got me back to the desired search box.
--Matt Jones
> I'm not following the "Task" part of it but yes indeed adding the <search-form: with="&nil" /> did fix it and it now works great.
Sorry - that was me using the wrong domain language. I had my test app set up with the Hobo version of "Hello World" (Stories have_many Tasks) - your equivalent would be Space.
Out of curiosity, can you post your form tag for Space (from application.dryml)?
--Matt Jones
> I'm not following the "Task" part of it but yes indeed adding the <search-form: with="&nil" /> did fix it and it now works great.
This is now (as of about 2 minutes ago) the default behavior. It shouldn't break any existing code, and it avoids crazy bugs like the one you ran into.
--Matt Jones