and there it is. Order code form, hidden and forgotten in application.dryml. resolved.
I still don't really think that this is really because of something I did wrong or should not have forgotten. Unfortunately this is building a very foreboding feeling I have when working with .dryml - some of the modularization and general form just doesn't seem to make sense. Why are viewhints, which are benign and simple at best, given individual files for every model, while tag extensions, which can be a multitude of complex unorganized unrelated blocks of code, jammed in to a single file? A file that, when its incorrect, generates absolutely no useful error data, to boot. Actually, that doesn't matter. I only have one question, and that is: how do I go about changing this? PS. Although this is somewhat of an email written in frustration, please don't take it that way. When all's said and done I can easily rapture about the goodness of hobo. I'm putting a lot of energy now in to learning it and hope to use it for app upon app in the future! Thank you all for your hard work in putting it together! adios, --Peter On Nov 5, 8:13 am, Domizio Demichelis <[email protected]> wrote: > It doesn't look like you didn't remove the association, it looks like you > didn't remove the call to it somewhere, probably in some page/form/ > overridding. Search for "supplier" in your app and you should find the call. > > ciao > dd > > On Fri, Nov 5, 2010 at 12:41 AM, Peter Ehrlich > <[email protected]>wrote: > > > > > > > > > Hello! > > > I'm getting an error that, I'm convinced, I really shouldn't be. I > > have a model called Order and a model called Supplier. At one point, > > Supplier 'belonged_to' Order and Order 'had_one' Supplier. This > > association has been removed. However, when viewing /orders/new, I > > get: "undefined method `supplier' for #<Order:0x1033e2ae8>". > > > Default new page. Database fully migrated. I can remove all the > > has_many associations, which makes it almost vanilla, and still get > > the same error. > > > Where's the universe splitting in two? Here's the trace. > > > Many thanks, > > --Peter > > > Rails 2.3.8 > > Ruby 1.8.7 > > Hobo 1.0.1 > > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/ > > activerecord-2.3.8/lib/active_record/attribute_methods.rb:264:in > > `method_missing_without_find_for' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/find_for.rb:48:in `method_missing' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/hobo_helper.rb:322:in `send' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/hobo_helper.rb:322:in `can_view?' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_support.dryml:45:in `with_fields' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_support.dryml:45:in `select' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_support.dryml:45:in `with_fields' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/actionpack-2.3.8/ > > lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_support.dryml:22:in `with_fields' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_core.dryml:33:in `field_list' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/actionpack-2.3.8/ > > lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_core.dryml:32:in `field_list' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:377:in `call' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:377:in > > `call_tag_parameter_with_default_content' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/tag_parameters.rb:21:in `call' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/tag_parameters.rb:21:in `method_missing' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/core.dryml:55:in `do_' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/actionpack-2.3.8/ > > lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/core.dryml:55:in `do_' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:381:in `send' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:381:in > > `call_tag_parameter_with_default_content' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:403:in `call_tag_parameter' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_document_tags.dryml:47:in `labelled_item_list' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/actionpack-2.3.8/ > > lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_document_tags.dryml:47:in `labelled_item_list' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/tag_parameters.rb:21:in `call' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/tag_parameters.rb:21:in `method_missing' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_core.dryml:101:in `table' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/actionpack-2.3.8/ > > lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_core.dryml:100:in `table' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/tag_parameters.rb:21:in `call' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/tag_parameters.rb:21:in `method_missing' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/core.dryml:78:in `if_' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/actionpack-2.3.8/ > > lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/core.dryml:76:in `if_' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_core.dryml:100:in `table' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/actionpack-2.3.8/ > > lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_core.dryml:99:in `table' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_document_tags.dryml:47:in `labelled_item_list' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/actionpack-2.3.8/ > > lib/action_view/helpers/capture_helper.rb:129:in `with_output_buffer' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_document_tags.dryml:47:in `labelled_item_list' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/ > > taglibs/rapid_core.dryml:32:in `field_list' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:328:in `_tag_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/hobo-1.0.1/lib/ > > hobo/dryml/template_environment.rb:248:in `new_context' > > /Users/peter/.rvm/gems/ruby-1.8.7-p...@rails238b/gems/actionpack-2.3.8/ > > lib/action_view/helpers/capture_helper.rb:129:in > > ... > > read more » -- 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.
