Matt,

Full tag definition:

   <def tag="accounting-table">
     <div if="&this.viewable_by?(current_user,
   :entertainment_expenses)" class="accounting table-plus"
   part="accounting-table" >
       <table fields="player, match, collectable, collected, owing" merge >
         <collectable-view:><editor /></collectable-view:>
         <collected-view:><editor /></collected-view:>
       </table>
       <div class="field-list" >
         <div class="input-help" >
           click on the number to change collectable or collected,
           and refresh the page to update the owing values
         </div>
       </div>
     </div>
   </def>



Full trace:


 NoMethodError in Engagements#edit

Showing /app/views/engagements/edit.dryml/ where line *#3* raised:

|undefined method `attributes' for #<ActionView::Base:0x7fbb593fee38>|

Extracted source (around line *#3*):

|1: <edit-page>
2:   <prepend-content-body:>
3:     <accounting-table:line_up skip="match" />
4:   </prepend-content-body:>
5: </edit-page>
|

|RAILS_ROOT: /home/henry/clients/dunfield/t_and_d|

Application Trace <#> | Framework Trace <#> | Full Trace <#>

|/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:605:in
 `send'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:605:in
 `method_missing'
app/views/taglibs/front_site.dryml:100:in `accounting_table_part'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
app/views/taglibs/front_site.dryml:99:in `accounting_table_part'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:159:in
 `send'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:159:in
 `call_part'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:157:in
 `call_part'
app/views/taglibs/front_site.dryml:99:in `accounting_table'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
app/views/taglibs/front_site.dryml:99:in `accounting_table'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:324:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:292:in
 `new_field_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:273:in
 `new_field_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:324:in
 `_tag_context'
app/views/taglibs/front_site.dryml:98:in `accounting_table'
app/views/engagements/edit.dryml:3:in `render_page'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
app/views/engagements/edit.dryml:2:in `render_page'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:455:in
 `call'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:455:in
 `override_and_call_tag'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/tag_parameters.rb:21:in 
`call'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/tag_parameters.rb:21:in 
`method_missing'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_document_tags.dryml:21:in 
`section'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_document_tags.dryml:20:in 
`section'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:464:in
 `send'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:464:in
 `override_and_call_tag'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:427:in
 `call_tag_parameter'
app/views/taglibs/auto/rapid/pages.dryml:267:in `edit_page__for_engagement'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
app/views/taglibs/auto/rapid/pages.dryml:257:in `edit_page__for_engagement'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:455:in
 `call'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:455:in
 `override_and_call_tag'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/tag_parameters.rb:21:in 
`call'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/tag_parameters.rb:21:in 
`method_missing'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_document_tags.dryml:21:in 
`section'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_document_tags.dryml:20:in 
`section'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:464:in
 `send'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:464:in
 `override_and_call_tag'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:427:in
 `call_tag_parameter'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:46:in 
`page_without_aaa82d3a9ca5'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/scoped_variables.rb:20:in 
`new_scope'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:38:in 
`page_without_aaa82d3a9ca5'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:37:in 
`page_without_aaa82d3a9ca5'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:447:in
 `call'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:447:in
 `override_and_call_tag'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:447:in
 `override_and_call_tag'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:427:in
 `call_tag_parameter'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:37:in 
`page_without_aaa82d3a9ca5'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:16:in 
`page_without_aaa82d3a9ca5'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:377:in
 `call'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:377:in
 `call_tag_parameter_with_default_content'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/tag_parameters.rb:21:in 
`call'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/tag_parameters.rb:21:in 
`method_missing'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/core.dryml:55:in `do_'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/core.dryml:55:in `do_'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:381:in
 `send'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:381:in
 `call_tag_parameter_with_default_content'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:403:in
 `call_tag_parameter'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:165:in `html'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/scoped_variables.rb:20:in 
`new_scope'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:165:in `html'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:160:in `html'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:16:in 
`page_without_aaa82d3a9ca5'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:14:in 
`page_without_aaa82d3a9ca5'
app/views/taglibs/themes/clean/clean.dryml:2:in `page_without_adfe5b196988'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
app/views/taglibs/themes/clean/clean.dryml:1:in `page_without_adfe5b196988'
app/views/taglibs/front_site.dryml:10:in `page'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
app/views/taglibs/front_site.dryml:9:in `page'
app/views/taglibs/auto/rapid/pages.dryml:253:in `edit_page__for_engagement'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
app/views/taglibs/auto/rapid/pages.dryml:252:in `edit_page__for_engagement'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:200:in
 `send'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:200:in
 `call_polymorphic_tag'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:76:in 
`edit_page'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:328:in
 `_tag_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/taglibs/rapid_pages.dryml:73:in 
`edit_page'
app/views/engagements/edit.dryml:1:in `render_page'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:267:in
 `new_object_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:129:in
 `with_output_buffer'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:248:in
 `new_context'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_environment.rb:255:in
 `new_object_context'
app/views/engagements/edit.dryml:1:in `render_page'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_handler.rb:22:in 
`render_for_rails22'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_handler.rb:142:in
 `render_dryml'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in 
`with_template'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_handler.rb:138:in
 `render_dryml'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_handler.rb:106:in
 `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in 
`render_template'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in 
`render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in
 `render_for_file_without_dryml'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/dryml/template_handler.rb:83:in 
`render_for_file'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:987:in
 `render_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
 `render_without_hobo_model'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
 `ms'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
 `ms'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
 `render_without_hobo_model'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/model_controller.rb:819:in 
`render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1326:in
 `default_render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1332:in
 `perform_action_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in
 `call_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:638:in
 `run_before_filters'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/controller.rb:23:in `call'
/usr/lib/ruby/gems/1.8/gems/hobo-1.0.0/lib/hobo/controller.rb:23:in 
`included_in_class'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:182:in
 `call'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:182:in
 `evaluate_method'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:184:in
 `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:635:in
 `run_before_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:615:in
 `call_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in
 `perform_action_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
 `perform_action_without_rescue'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
 `ms'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
 `ms'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
 `perform_action_without_rescue'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in
 `perform_action_without_flash'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in
 `perform_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
 `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
 `process_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in
 `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in
 `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in
 `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in
 `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in
 `dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in
 `_call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in
 `build_middleware_stack'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
 `call'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
 `call'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
 `cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
 `cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in
 `call'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
 `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in
 `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in
 `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in
 `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
 `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in
 `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in
 `run'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in
 `call'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in 
`call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in 
`process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in `run'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3|


   Request

*Parameters*:

{"id"=>"1355"}

Show session dump <#>


   Response

*Headers*:

{"Content-Type"=>"",
"Pragma"=>"no-cache",
"Expires"=>"0",
"Cache-Control"=>"no-store"}



Matt Jones wrote:

On Apr 28, 2010, at 2:57 PM, Henry Baragar wrote:

Kevin,

I figured out that the "skip" attribute works nicely:
<engagement-table:collection_name skip="player" />
when using the following definition:
<def tag="engagement-table">
    <table fields="player match collectable ..." merge >
</def>
That is, I added both "first" columns and skip either one or the other.

However, if I change the definition as follows:
<def tag="engagement-table">
    <div part="engagement-table">
        <table fields="player match collectable ..." merge >
    </div>
</def>
I get the following error message:

    undefined method `attributes' for #<ActionView::Base:0x7f06a128e638>

Am I doing something wrong? Or is there a bug code generated for the "part" attribute?

I'm not 100% sure, but there's a good chance that parts might not work cleanly when defined inside tags like that. Alternatively, the 'merge' on the table could be interacting with the part context mechanism. Can you post a complete backtrace?

--Matt Jones


--
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