Add New in select boxes

60 views
Skip to first unread message

mdfdroid

unread,
Apr 13, 2011, 9:43:13 AM4/13/11
to Hobo Users
Does anyone have any working examples of adding this functionality?
To be able to select add new in a select box and creating a new
value?

I am using Hobo 1.3 and Jquery

Cheers

Donald R. Ziesig

unread,
Apr 13, 2011, 10:22:58 AM4/13/11
to hobo...@googlegroups.com
Hi All:

I need to show multiple model fields (e.g., NY : New York, or St. :
Street ) in a dropdown select. Is there an easy way to do this (there
usually is; the hard part is finding it)?

Don Z.

Donald R. Ziesig

unread,
Apr 13, 2011, 12:12:01 PM4/13/11
to hobo...@googlegroups.com
I have been using the rails equivalent of the following for years and
it has simplified my life significantly when working on a large website
(I patched the rails generators to put it at the bottom of the files,
but I'm not quite up to that in hobo yet). In rails, it helped point me
to the right files, especially if I had been working elsewhere on the
site for a while when I get a bug report (yeah :-( ).

I manually put it in appropriate places in my hobo dryml files and it
helps just like it did BH (before Hobo) provided I'm the one who
generated the file. Could we have the hobo dryml generators put
something like it in the appropriate places, too?

<% if Rails.env == 'development' %> <p class="dryml_file">"#{__FILE__},
#{__LINE__}"</p> <% end %>

It causes one or more extraneous lines in the output as in:

"app/views/front/index.dryml, 28"

that only appear in the development mode, and can be easily removed by
hiding the dryml_file class in the css if you really need to see the
precise appearance of your pages during development. I usually set its
css to the smallest-readable font to keep it as unobtrusive as possible.

In my case, having this available would eliminate most of the "Where is
.... " posts I make to the group :-[ .

Thanks,

Don Z.

P.S. It could be simplified by leaving off the conditional and having
the css hide the output in production mode, but doing so would leave
bits and pieces of extraneous html hanging around in the page outputs,
so I think my current implementation is preferable.

Domizio Demichelis

unread,
Apr 13, 2011, 12:48:47 PM4/13/11
to hobo...@googlegroups.com, Donald R. Ziesig
In the old days of rails 1.2, I used the 'annotate_renders' plugin, that was adding html comments to each render. I modified it for my own purposes so it was commenting start and end of each template with the data I needed and for each used segment. Now I don't know whether any similar solution exists.

If I had to write it, I would probably implement it by patching some rails method, putting it in an engine, so you could use it by just adding it to the :development bundler group in your Gemfile. No patch when not in development. nice and clean.

You should try to write it, it shouln't be too complicated. ;-)

ciao
dd


--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To post to this group, send email to hobo...@googlegroups.com.
To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.


Bryan Larsen

unread,
Apr 13, 2011, 1:39:34 PM4/13/11
to hobo...@googlegroups.com
Such a simple solution to a major pain point. So I thought to myself,
"there must be a reason it hasn't been done.". So I went into Hobo to
try and hack it in and see what happens.

When I got to the right place, I found this in dryml/template.rb:

def include_source_metadata
# disabled for now -- we're still getting broken rendering with
this feature on
return false
@include_source_metadata = RAILS_ENV == "development" &&
!ENV['DRYML_EDITOR'].blank? if @include_source_metadata.nil?
@include_source_metadata
end

I commented out the "return false" and set the DRYML_EDITOR variable in
my environment, and it seems to work fine. Give it a try and let me
know if it breaks anything!

cheers,
Bryan

P.S. Please don't start new message by replying to an old one unless
it's actually a reply. Many of us have properly nested email readers,
so your message becomes hidden in the other thread.

Donald R. Ziesig

unread,
Apr 13, 2011, 1:53:38 PM4/13/11
to hobo...@googlegroups.com
Domizio!

I didn't think I need anything quite so sophisticated, so  I just went into the pre31 files and pasted the instrumentation line before all occurrences of </content: and </form  (after making a backup just in case).  Et voila! the funny little instrumentation lines showed up all over the place, even in the rapid pages :-D .  I edited about 15 files and made about 40 changes.  I may have missed some of the constructs that also might need instrumentation ( </whatever? ), so I may have to go back later and add them, but for now, I'm happy.

This essentially duplicates the changes I made in rails way back when but in dryml and dryml.erb rather than html.erb.

Don Z.

P.S.  If anyone is interested, I'll send them a tgz file of the pre31 with my changed included.  If there is a lot of interest, I'll generate patch files as well.  I may have to do that anyway as soon as pre32 appears :'(

Domizio Demichelis

unread,
Apr 13, 2011, 2:51:14 PM4/13/11
to hobo...@googlegroups.com
Bryan,
where is the duplicated message? Is it my fault? It could be since I have just added a few labs to my gmail account, so something might be wrong. PLease, tell me.

ciao
dd

Owen Dall

unread,
Apr 13, 2011, 3:05:53 PM4/13/11
to hobo...@googlegroups.com, Donald R. Ziesig
Thanks, Don, very useful.. 
Owen Dall, Chief Systems Architect
Barquin International

Matt Jones

unread,
Apr 13, 2011, 3:15:58 PM4/13/11
to hobo...@googlegroups.com

You might want to check out select-one-or-new-dialog in Bryan's hobo-jquery library, which appears to do exactly what you're looking for.

--Matt Jones

Bryan Larsen

unread,
Apr 13, 2011, 3:24:11 PM4/13/11
to Hobo Users
Sorry, my P.S. was targeted at Donald. You can see the effects of it
on the groups website:
http://groups.google.com/group/hobousers/browse_thread/thread/6e4971165f778db0/666149c04093f36b

On Apr 13, 2:51 pm, Domizio Demichelis <dd.ne...@gmail.com> wrote:
> Bryan,
> where is the duplicated message? Is it my fault? It could be since I have
> just added a few labs to my gmail account, so something might be wrong.
> PLease, tell me.
>
> ciao
> dd
>

Matt Frost

unread,
Apr 13, 2011, 3:34:24 PM4/13/11
to hobo...@googlegroups.com
I have tried to use it, but can not seem to get it to work.  Any examples of usage?  Thanks

Bryan Larsen

unread,
Apr 13, 2011, 4:01:08 PM4/13/11
to hobo...@googlegroups.com
The part of the app I was using it on got canned, so I don't have any
current examples. Here's one from an old test:

https://github.com/tablatom/agility/blob/jquery-test/app/views/stories/select_one_or_new_dialog_test.dryml

Note that's the "jquery-test" branch of agility.

select-one-or-new-dialog uses pretty much every fancy feature of Hobo
and hobo-jquery, so if any one part is broken in your app, it won't
work. How far do you get? Does the dialog not pop, the new item not
get created or the select not change?

Bryan

On 11-04-13 03:34 PM, Matt Frost wrote:
> I have tried to use it, but can not seem to get it to work. Any
> examples of usage? Thanks
>
> On Wed, Apr 13, 2011 at 2:15 PM, Matt Jones <al2...@gmail.com
> <mailto:al2...@gmail.com>> wrote:
>
>
> On Apr 13, 2011, at 9:43 AM, mdfdroid wrote:
>
> > Does anyone have any working examples of adding this functionality?
> > To be able to select add new in a select box and creating a new
> > value?
> >
> > I am using Hobo 1.3 and Jquery
>
> You might want to check out select-one-or-new-dialog in Bryan's
> hobo-jquery library, which appears to do exactly what you're looking
> for.
>
> --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 hobo...@googlegroups.com

> <mailto:hobo...@googlegroups.com>.


> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com

> <mailto:hobousers%2Bunsu...@googlegroups.com>.

Matt Frost

unread,
Apr 13, 2011, 4:21:20 PM4/13/11
to hobo...@googlegroups.com
I get the following error when trying to use it.  Also, my forms are already in hjq-dialog boxes.  Will this still work from a dialog already?    Also,  is there a way to get the dialog to close after submission?  I have been trying all day to get it to close when the submit button or preferably the jquery "ok" button.  I notice there is a submit_formlet_and_close button but not a submit_form_and_close.   Thank you for your help.



NameError in Clients#show

Showing C:/billing_for_pros/app/views/clients/show.dryml where line #28 raised:

uninitialized constant Hobo::Dryml

Extracted source (around line #28):

25: <form with="&@bill || new_for_current_user(this.bills)" owner="case" without-cancel update="cases" part="bill" reset-form>
26: <field-list: skip="case, total">
27: <rate-view:>
28: <select-one-or-new-dialog />
29: </rate-view:>
30: </field-list:>
31: <submit: label="#{ht 'bill.actions.add', :default=>['Add'] }"/>

Bryan Larsen

unread,
Apr 13, 2011, 7:02:27 PM4/13/11
to Hobo Users
On Apr 13, 4:21 pm, Matt Frost <mdfdr...@gmail.com> wrote:
> I get the following error when trying to use it.  
>
> NameError in Clients#show

> uninitialized constant Hobo::Dryml
>

That error is very strange. Can you send the full backtrace?

> Also, my forms are already
> in hjq-dialog boxes.  Will this still work from a dialog already?    

The reason that it uses a formlet is because nested forms are illegal
in html. Usually your select-one is part of a form, so formlets are
essential in the most common case. However, if your select-one isn't
part of a form or you define your dialog box outside of the form
containing the select-one, you can use a form in your dialog.

select-one-or-new-dialog does not have any javascript, so you should
be able to extract pieces from its source code and use directly.

> Also,
> is there a way to get the dialog to close after submission?  I have been
> trying all day to get it to close when the submit button or preferably the
> jquery "ok" button.  I notice there is a submit_formlet_and_close button but
> not a submit_form_and_close.   Thank you for your help.

use a success callback on your form:

<form update="mypart" success="jQuery('#myform').dialog('close')">...</
form>

Matt Frost

unread,
Apr 13, 2011, 9:03:29 PM4/13/11
to hobo...@googlegroups.com
Here is the full trace:

vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:286:in `block in formlet__base'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:281:in `formlet__base'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:286:in `block (2 levels) in formlet'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:201:in `call_polymorphic_tag'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:286:in `block in formlet'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:327:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:268:in `block in new_object_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:256:in `new_object_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:327:in `_tag_context'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:283:in `formlet'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:477:in `block (3 levels) in select_one_or_new_dialog'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:476:in `block (2 levels) in select_one_or_new_dialog'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:458:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:458:in `block in override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:369:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:369:in `block in call_tag_parameter_with_default_content'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:369:in `call_tag_parameter_with_default_content'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:404:in `call_tag_parameter'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:429:in `block in hjq_dialog'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:420:in `hjq_dialog'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:465:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:476:in `block in select_one_or_new_dialog'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:469:in `select_one_or_new_dialog'
app/views/clients/show.dryml:28:in `block (5 levels) in bill_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/clients/show.dryml:27:in `block (4 levels) in bill_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:456:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:456:in `block in override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
dryml (1.3.0.pre29) taglibs/core.dryml:55:in `block in do_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
dryml (1.3.0.pre29) taglibs/core.dryml:55:in `do_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:465:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
vendor/plugins/hobo-contrib/taglibs/feckless-fieldset.dryml:66:in `block (5 levels) in feckless_fieldset'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
vendor/plugins/hobo-contrib/taglibs/feckless-fieldset.dryml:62:in `block (4 levels) in feckless_fieldset'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
vendor/plugins/hobo-contrib/taglibs/feckless-fieldset.dryml:56:in `block (3 levels) in feckless_fieldset'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:378:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:378:in `block in call_tag_parameter_with_default_content'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
dryml (1.3.0.pre29) taglibs/core.dryml:55:in `block in do_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
dryml (1.3.0.pre29) taglibs/core.dryml:55:in `do_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:382:in `call_tag_parameter_with_default_content'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:404:in `call_tag_parameter'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_support.dryml:51:in `block (5 levels) in with_fields'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_support.dryml:51:in `block (4 levels) in with_fields'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
dryml (1.3.0.pre29) taglibs/core.dryml:55:in `block in do_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:325:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:293:in `block in new_field_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:274:in `new_field_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:325:in `_tag_context'
dryml (1.3.0.pre29) taglibs/core.dryml:55:in `do_'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_support.dryml:51:in `block (3 levels) in with_fields'
dryml (1.3.0.pre29) lib/dryml/scoped_variables.rb:20:in `new_scope'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_support.dryml:47:in `block (2 levels) in with_fields'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_support.dryml:46:in `each'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_support.dryml:46:in `block in with_fields'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_support.dryml:22:in `with_fields'
vendor/plugins/hobo-contrib/taglibs/feckless-fieldset.dryml:56:in `block (2 levels) in feckless_fieldset'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
vendor/plugins/hobo-contrib/taglibs/feckless-fieldset.dryml:54:in `block in feckless_fieldset'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
vendor/plugins/hobo-contrib/taglibs/feckless-fieldset.dryml:51:in `feckless_fieldset'
app/views/taglibs/application.dryml:160:in `block in field_list_with_acd6c852e8be'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/application.dryml:159:in `field_list_with_acd6c852e8be'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:465:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
app/views/taglibs/auto/rapid/forms.dryml:18:in `block (3 levels) in form__for_bill'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/taglibs/auto/rapid/forms.dryml:16:in `block (2 levels) in form__for_bill'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:458:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:458:in `block in override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_forms.dryml:209:in `block (2 levels) in form__base'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:339:in `block in with_form_context'
dryml (1.3.0.pre29) lib/dryml/scoped_variables.rb:20:in `new_scope'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:338:in `with_form_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_forms.dryml:207:in `block in form__base'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_forms.dryml:162:in `form__base'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:465:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
app/views/taglibs/auto/rapid/forms.dryml:16:in `block in form__for_bill'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/auto/rapid/forms.dryml:15:in `form__for_bill'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:199:in `call_polymorphic_tag'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_forms.dryml:167:in `block in form'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:327:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:268:in `block in new_object_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:256:in `new_object_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:327:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_forms.dryml:164:in `form'
app/views/clients/show.dryml:25:in `block in bill_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/clients/show.dryml:25:in `bill_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:158:in `block in call_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:156:in `call_part'
app/views/clients/show.dryml:25:in `block (6 levels) in cases_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/clients/show.dryml:24:in `block (5 levels) in cases_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:369:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:369:in `block in call_tag_parameter_with_default_content'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:369:in `call_tag_parameter_with_default_content'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:404:in `call_tag_parameter'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:429:in `block in hjq_dialog'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:420:in `hjq_dialog'
app/views/clients/show.dryml:24:in `block (4 levels) in cases_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/clients/show.dryml:23:in `block (3 levels) in cases_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:446:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:446:in `block in override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:446:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:126:in `block (14 levels) in table'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:122:in `block (13 levels) in table'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
dryml (1.3.0.pre29) taglibs/core.dryml:78:in `block in if_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
dryml (1.3.0.pre29) taglibs/core.dryml:76:in `if_'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:122:in `block (12 levels) in table'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:121:in `block (11 levels) in table'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:448:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:448:in `block in override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:448:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:120:in `block (10 levels) in table'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:119:in `block (9 levels) in table'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
dryml (1.3.0.pre29) taglibs/core.dryml:49:in `block (4 levels) in repeat'
dryml (1.3.0.pre29) lib/dryml/helper.rb:22:in `block (3 levels) in context_map'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:293:in `block in new_field_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:274:in `new_field_context'
dryml (1.3.0.pre29) lib/dryml/helper.rb:22:in `block (2 levels) in context_map'
activerecord (3.0.3) lib/active_record/associations/association_collection.rb:430:in `block in method_missing'
activerecord (3.0.3) lib/active_record/associations/association_proxy.rb:216:in `block in method_missing'
activerecord (3.0.3) lib/active_record/associations/association_proxy.rb:216:in `each'
activerecord (3.0.3) lib/active_record/associations/association_proxy.rb:216:in `method_missing'
activerecord (3.0.3) lib/active_record/associations/association_collection.rb:430:in `method_missing'
hobo (1.3.0.pre29) lib/hobo/extensions/active_record/relation_with_origin.rb:19:in `method_missing_with_origin'
dryml (1.3.0.pre29) lib/dryml/helper.rb:18:in `block in context_map'
dryml (1.3.0.pre29) lib/dryml/scoped_variables.rb:20:in `new_scope'
dryml (1.3.0.pre29) lib/dryml/helper.rb:7:in `context_map'
dryml (1.3.0.pre29) taglibs/core.dryml:48:in `block (3 levels) in repeat'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) taglibs/core.dryml:46:in `block (2 levels) in repeat'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
dryml (1.3.0.pre29) taglibs/core.dryml:78:in `block in if_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
dryml (1.3.0.pre29) taglibs/core.dryml:76:in `if_'
dryml (1.3.0.pre29) taglibs/core.dryml:46:in `block in repeat'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
dryml (1.3.0.pre29) taglibs/core.dryml:46:in `repeat'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:119:in `block (8 levels) in table'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:118:in `block (7 levels) in table'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:448:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:448:in `block in override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:448:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:118:in `block (6 levels) in table'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:577:in `block in element'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:40:in `capture'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:577:in `element'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:109:in `block (5 levels) in table'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:108:in `block (4 levels) in table'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
dryml (1.3.0.pre29) taglibs/core.dryml:93:in `block in unless_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
dryml (1.3.0.pre29) taglibs/core.dryml:91:in `unless_'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:108:in `block (3 levels) in table'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:106:in `block (2 levels) in table'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
dryml (1.3.0.pre29) taglibs/core.dryml:87:in `block in else_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
dryml (1.3.0.pre29) taglibs/core.dryml:87:in `else_'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:106:in `block in table'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_core.dryml:102:in `table'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_plus.dryml:25:in `block (2 levels) in table_plus'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_plus.dryml:13:in `block in table_plus'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:325:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:293:in `block in new_field_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:274:in `new_field_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:325:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_plus.dryml:10:in `table_plus'
app/views/clients/show.dryml:4:in `block in cases_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/clients/show.dryml:3:in `cases_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:158:in `block in call_part'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:156:in `call_part'
app/views/clients/show.dryml:3:in `block (4 levels) in render_page'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/clients/show.dryml:3:in `block (3 levels) in render_page'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/clients/show.dryml:2:in `block (2 levels) in render_page'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:424:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:424:in `call_tag_parameter'
app/views/taglibs/application.dryml:57:in `block (8 levels) in show_page__for_client'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/taglibs/application.dryml:42:in `block (7 levels) in show_page__for_client'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:458:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:458:in `block in override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_document_tags.dryml:21:in `block in section'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_document_tags.dryml:20:in `section'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:465:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
app/views/taglibs/application.dryml:42:in `block (6 levels) in show_page__for_client'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/taglibs/application.dryml:38:in `block (5 levels) in show_page__for_client'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:458:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:458:in `block in override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_document_tags.dryml:21:in `block in section'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_document_tags.dryml:20:in `section'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:465:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
app/views/taglibs/application.dryml:38:in `block (4 levels) in show_page__for_client'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
app/views/taglibs/application.dryml:28:in `block (3 levels) in show_page__for_client'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:456:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:456:in `block in override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_document_tags.dryml:21:in `block in section'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_document_tags.dryml:20:in `section'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:465:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:46:in `block (6 levels) in page'
dryml (1.3.0.pre29) lib/dryml/scoped_variables.rb:20:in `new_scope'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:38:in `block (5 levels) in page'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:37:in `block (4 levels) in page'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:448:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:448:in `block in override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:448:in `override_and_call_tag'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:428:in `call_tag_parameter'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:37:in `block (3 levels) in page'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:16:in `block (2 levels) in page'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:378:in `call'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:378:in `block in call_tag_parameter_with_default_content'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `call'
dryml (1.3.0.pre29) lib/dryml/tag_parameters.rb:19:in `method_missing'
dryml (1.3.0.pre29) taglibs/core.dryml:55:in `block in do_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
dryml (1.3.0.pre29) taglibs/core.dryml:55:in `do_'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:382:in `call_tag_parameter_with_default_content'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:404:in `call_tag_parameter'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:165:in `block (2 levels) in html'
dryml (1.3.0.pre29) lib/dryml/scoped_variables.rb:20:in `new_scope'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:165:in `block in html'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:160:in `html'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:16:in `block in page'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:14:in `page'
vendor/plugins/hobo-contrib/taglibs/hobo-contrib-assets.dryml:8:in `block in page_with_aeb71aba3678'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
vendor/plugins/hobo-contrib/taglibs/hobo-contrib-assets.dryml:7:in `page_with_aeb71aba3678'
app/views/taglibs/themes/clean/clean.dryml:2:in `block in page_with_aaa82d3a9ca5'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/themes/clean/clean.dryml:1:in `page_with_aaa82d3a9ca5'
app/views/taglibs/application.dryml:13:in `block in page_with_a7588f4881f5'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/application.dryml:12:in `page_with_a7588f4881f5'
app/views/taglibs/application.dryml:189:in `block in page_with_a46705120a36'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/application.dryml:188:in `page_with_a46705120a36'
app/views/taglibs/application.dryml:24:in `block in show_page__for_client'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
app/views/taglibs/application.dryml:23:in `show_page__for_client'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:199:in `call_polymorphic_tag'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:74:in `block in show_page'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `block in _tag_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:329:in `_tag_context'
hobo (1.3.0.pre29) lib/hobo/rapid/taglibs/rapid_pages.dryml:71:in `show_page'
app/views/clients/show.dryml:1:in `block in render_page'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:268:in `block in new_object_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `block in new_context'
actionpack (3.0.3) lib/action_view/helpers/capture_helper.rb:172:in `with_output_buffer'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:249:in `new_context'
dryml (1.3.0.pre29) lib/dryml/template_environment.rb:256:in `new_object_context'
app/views/clients/show.dryml:1:in `render_page'
dryml (1.3.0.pre29) lib/dryml.rb:74:in `call_render'
app/views/clients/show.dryml:1:in `_app_views_clients_show_dryml__432251706_37798896_1003882228'
actionpack (3.0.3) lib/action_view/template.rb:135:in `block in render'
activesupport (3.0.3) lib/active_support/notifications.rb:54:in `instrument'
actionpack (3.0.3) lib/action_view/template.rb:127:in `render'
actionpack (3.0.3) lib/action_view/render/rendering.rb:59:in `block in _render_template'
activesupport (3.0.3) lib/active_support/notifications.rb:52:in `block in instrument'
activesupport (3.0.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.0.3) lib/active_support/notifications.rb:52:in `instrument'
actionpack (3.0.3) lib/action_view/render/rendering.rb:56:in `_render_template'
actionpack (3.0.3) lib/action_view/render/rendering.rb:26:in `render'
actionpack (3.0.3) lib/abstract_controller/rendering.rb:114:in `_render_template'
actionpack (3.0.3) lib/abstract_controller/rendering.rb:108:in `render_to_body'
actionpack (3.0.3) lib/action_controller/metal/renderers.rb:47:in `render_to_body'
actionpack (3.0.3) lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
actionpack (3.0.3) lib/abstract_controller/rendering.rb:101:in `render_to_string'
actionpack (3.0.3) lib/abstract_controller/rendering.rb:92:in `render'
actionpack (3.0.3) lib/action_controller/metal/rendering.rb:17:in `render'
actionpack (3.0.3) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.0.3) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
C:/Ruby192/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
activesupport (3.0.3) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.0.3) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.0.3) lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
activerecord (3.0.3) lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
actionpack (3.0.3) lib/action_controller/metal/instrumentation.rb:39:in `render'
hobo (1.3.0.pre29) lib/hobo/controller/model.rb:808:in `render_with_hobo_model'
actionpack (3.0.3) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.0.3) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (3.0.3) lib/abstract_controller/base.rb:151:in `process_action'
actionpack (3.0.3) lib/action_controller/metal/rendering.rb:11:in `process_action'
actionpack (3.0.3) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.0.3) lib/active_support/callbacks.rb:460:in `_run__559627059__process_action__359871515__callbacks'
activesupport (3.0.3) lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
activesupport (3.0.3) lib/active_support/callbacks.rb:93:in `run_callbacks'
actionpack (3.0.3) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.0.3) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.0.3) lib/active_support/notifications.rb:52:in `block in instrument'
activesupport (3.0.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.0.3) lib/active_support/notifications.rb:52:in `instrument'
actionpack (3.0.3) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.0.3) lib/action_controller/metal/rescue.rb:17:in `process_action'
actionpack (3.0.3) lib/abstract_controller/base.rb:120:in `process'
actionpack (3.0.3) lib/abstract_controller/rendering.rb:40:in `process'
actionpack (3.0.3) lib/action_controller/metal.rb:138:in `dispatch'
actionpack (3.0.3) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.0.3) lib/action_controller/metal.rb:178:in `block in action'
actionpack (3.0.3) lib/action_dispatch/routing/route_set.rb:62:in `call'
actionpack (3.0.3) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
actionpack (3.0.3) lib/action_dispatch/routing/route_set.rb:27:in `call'
rack-mount (0.6.13) lib/rack/mount/route_set.rb:148:in `block in call'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `block in recognize'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:96:in `optimized_each'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.13) lib/rack/mount/route_set.rb:139:in `call'
actionpack (3.0.3) lib/action_dispatch/routing/route_set.rb:492:in `call'
actionpack (3.0.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
actionpack (3.0.3) lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.1) lib/rack/methodoverride.rb:24:in `call'
actionpack (3.0.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.0.3) lib/action_dispatch/middleware/flash.rb:182:in `call'
actionpack (3.0.3) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
actionpack (3.0.3) lib/action_dispatch/middleware/cookies.rb:295:in `call'
activerecord (3.0.3) lib/active_record/query_cache.rb:32:in `block in call'
activerecord (3.0.3) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
activerecord (3.0.3) lib/active_record/query_cache.rb:12:in `cache'
activerecord (3.0.3) lib/active_record/query_cache.rb:31:in `call'
activerecord (3.0.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:353:in `call'
actionpack (3.0.3) lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
activesupport (3.0.3) lib/active_support/callbacks.rb:415:in `_run_call_callbacks'
actionpack (3.0.3) lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.1) lib/rack/sendfile.rb:107:in `call'
actionpack (3.0.3) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.0.3) lib/action_dispatch/middleware/show_exceptions.rb:46:in `call'
railties (3.0.3) lib/rails/rack/logger.rb:13:in `call'
rack (1.2.1) lib/rack/runtime.rb:17:in `call'
activesupport (3.0.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.2.1) lib/rack/lock.rb:11:in `block in call'
<internal:prelude>:10:in `synchronize'
rack (1.2.1) lib/rack/lock.rb:11:in `call'
actionpack (3.0.3) lib/action_dispatch/middleware/static.rb:30:in `call'
railties (3.0.3) lib/rails/application.rb:168:in `call'
railties (3.0.3) lib/rails/application.rb:77:in `method_missing'
railties (3.0.3) lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.2.1) lib/rack/content_length.rb:13:in `call'
rack (1.2.1) lib/rack/handler/webrick.rb:52:in `service'
C:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
C:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
C:/Ruby192/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'


--

Bryan Larsen

unread,
Apr 13, 2011, 9:45:56 PM4/13/11
to hobo...@googlegroups.com
I guess nobody's tried formlet with Hobo 1.3 yet.

try replacing this:

# be compatible with both Hobo 1.0 and 1.1
dryml = Hobo.const_defined?(:Dryml) ? Hobo::Dryml : Dryml

with

# be compatible with both Hobo 1.0 and 1.1 and 1.3
dryml = defined?(Hobo::Dryml) ? Hobo::Dryml : Dryml

Bryan

Matt Frost

unread,
Apr 13, 2011, 10:46:26 PM4/13/11
to hobo...@googlegroups.com
Making progress.  Now I get

uninitialized constant Hobo::RapidHelper

which would be the next line in the hobo-jquery.dryml



Bryan Larsen

unread,
Apr 14, 2011, 8:21:03 AM4/14/11
to hobo...@googlegroups.com
Domizio changed that to Hobo::Rapid::Helper in 1.3

Bryan

On 11-04-13 10:46 PM, Matt Frost wrote:
> Making progress. Now I get
>
> uninitialized constant Hobo::RapidHelper
>
> which would be the next line in the hobo-jquery.dryml
>
>
>
> On Wed, Apr 13, 2011 at 8:45 PM, Bryan Larsen <bryan....@gmail.com
> <mailto:bryan....@gmail.com>> wrote:
>
> I guess nobody's tried formlet with Hobo 1.3 yet.
>
> try replacing this:
>
> # be compatible with both Hobo 1.0 and 1.1
> dryml = Hobo.const_defined?(:Dryml) ? Hobo::Dryml : Dryml
>
> with
>
> # be compatible with both Hobo 1.0 and 1.1 and 1.3
> dryml = defined?(Hobo::Dryml) ? Hobo::Dryml : Dryml
>
> Bryan
>
>
> On 11-04-13 09:03 PM, Matt Frost wrote:
>
> Here is the full trace:
>
> vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:286:in
> `block in
> formlet__base'
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To post to this group, send email to hobo...@googlegroups.com

> <mailto:hobo...@googlegroups.com>.


> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com

> <mailto:hobousers%2Bunsu...@googlegroups.com>.

Donald R. Ziesig

unread,
Apr 14, 2011, 8:35:45 AM4/14/11
to hobo...@googlegroups.com
Bryan,


Thanks for the tip!

Unfortunately, when I tried it I got many html comments, as in:

<!--[DRYML|def|login-page|50|/usr/local/lib/ruby/gems/1.8/gems/hobo-1.3.0.pre31/lib/hobo/rapid/taglibs/rapid_user_pages.dryml[-->
<!--[DRYML|call|simple-page|52|/usr/local/lib/ruby/gems/1.8/gems/hobo-1.3.0.pre31/lib/hobo/rapid/taglibs/rapid_user_pages.dryml[--><!--[DRYML|def|simple-page|4|/usr/local/lib/ruby/gems/1.8/gems/hobo-1.3.0.pre31/lib/hobo/rapid/taglibs/rapid_user_pages.dryml[-->
<!--[DRYML|call|page|5|/usr/local/lib/ruby/gems/1.8/gems/hobo-1.3.0.pre31/lib/hobo/rapid/taglibs/rapid_user_pages.dryml[--><!--[DRYML|def|page|11|app/views/taglibs/application.dryml[-->
<!--[DRYML|call|old-page|12|app/views/taglibs ...

rendered along with my normal output; so many that the view was pretty
much useless.

Not knowing of any dryml editors, I used:

DRYML_EDITOR=abc
export DRYML_EDITOR

as the enabling definition. (I did hunt through the code for references
to DRYML_EDITOR to see if there was something of use there, but only
found a definition of code_editor which was not used anywhere else, so I
had to presume that any non-blank value of DRYML_EDITOR was sufficient).

Any idea of what I did wrong?

Don Z.

P.S. Your reply below crossed in the mail with my reply to Domizio
outlining a crude but effective mod to the dryml templates. I saw it
yesterday, but had to start the installation of 3000 ft of CAT6 cable in
our new office so had to wait till today to try it.

Donald R. Ziesig

unread,
Apr 14, 2011, 8:39:17 AM4/14/11
to hobo...@googlegroups.com
OOPS!

Sorry :{

donz

Domizio Demichelis

unread,
Apr 14, 2011, 8:55:29 AM4/14/11
to hobo...@googlegroups.com, Donald R. Ziesig
You did nothing wrong: it is the way it is implemented right now. I agree that all that data is overhelming, but you have to conider that - probably - it has been never tried in practice. A better way to do it could be for example:
  1. move the DRYML_EDITOR flag (I don't know the reason for such a name) to the config.hobo.xxx namespace, so you can switch it on and off in a more rails 3 way
  2. add a few more parameters in the same namespace, so you can decide what you really want to be added in the output
  3. optionally deciding a format you might prefer (i.e. html comment, html fragment to be shown in the output) that you can define/override as a regular dryml tag
ciao
dd

Bryan Larsen

unread,
Apr 14, 2011, 9:10:43 AM4/14/11
to hobo...@googlegroups.com
Use it for a while, I suspect you'll eventually find it very useful.
It goes a long way towards turning Hobo magic into Hobo science.

Yes, it clutters up a standard view-source quite a bit, but firebug or
any other tree structured viewer makes it very easy to navigate.
Firebug will even let you hide all comments easily.

For instance, you may find the close indicators unnecessary, but they
are also very useful in determining the actually hierarchy that Hobo used.

Bryan

Domizio Demichelis

unread,
Apr 14, 2011, 9:49:18 AM4/14/11
to hobo...@googlegroups.com, Bryan Larsen
I didn't thought about Firebug, but now that you mention it... it would be VERY interesting using something like this very new Firebug extension in order to add also DRYML specific info!

https://addons.mozilla.org/en-US/firefox/addon/railsbug/

Take a look at the templates tab (3rd screenshot)

ciao
dd



Matt Frost

unread,
Apr 14, 2011, 10:26:17 AM4/14/11
to hobo...@googlegroups.com
Awesome! Now it will run,  I get a nice little new button next to my select box.  The dialog opens when I click new, but it doesnt have a form inside.

Matt Frost

unread,
Apr 14, 2011, 11:07:22 AM4/14/11
to hobo...@googlegroups.com
I think the problem may be that all of my forms are all auto_actions_for and not the normal actions.  In the example earlier there I have select or new dialog on rate.  The rate form, and all of the rest of the things that I need this function on are all called like this:

<form with="&@rate || new_for_current_user(@user.rates)" owner="user" without-cancel update="rates" reset-form>
                  <field-list: skip="user, client"/>
                  <submit: label="#{ht 'rate.actions.add', :default=>['Add'] }"/>
                </form>


There may be a better or easier way to call the forms, I am just not that familiar enough with it yet.  I tried to modify the part in the hoo-jquery dryml that sets up the form, but I can not seem to get the syntax right.

Bryan Larsen

unread,
Apr 14, 2011, 11:14:39 AM4/14/11
to hobo...@googlegroups.com
Don't try and modify select-or-new-dialog, copy the contents into your
page and remove the "param" attributes, that's simpler -- you can be
specific rather than trying to have a single tag that works everywhere.
You can just replace the formlet call with a form that works elsewhere.

Then copy & paste the resulting code into an email and we'll try and help.

Bryan

> <mailto:bryan....@gmail.com


> <mailto:bryan....@gmail.com>>> wrote:
>
> I guess nobody's tried formlet with Hobo 1.3 yet.
>
> try replacing this:
>
> # be compatible with both Hobo 1.0 and 1.1
> dryml = Hobo.const_defined?(:Dryml) ? Hobo::Dryml : Dryml
>
> with
>
> # be compatible with both Hobo 1.0 and 1.1 and 1.3
> dryml = defined?(Hobo::Dryml) ? Hobo::Dryml : Dryml
>
> Bryan
>
>
> On 11-04-13 09:03 PM, Matt Frost wrote:
>
> Here is the full trace:
>
>
> vendor/plugins/hobo-jquery/taglibs/hobo-jquery.dryml:286:in
> `block in
> formlet__base'
>
>
> --
> You received this message because you are subscribed to
> the Google
> Groups "Hobo Users" group.
> To post to this group, send email to
> hobo...@googlegroups.com <mailto:hobo...@googlegroups.com>

> <mailto:hobo...@googlegroups.com


> <mailto:hobo...@googlegroups.com>>.
>
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com
> <mailto:hobousers%2Bunsu...@googlegroups.com>

> <mailto:hobousers%2Bunsu...@googlegroups.com
> <mailto:hobousers%252Buns...@googlegroups.com>>.

Domizio Demichelis

unread,
Apr 14, 2011, 11:40:38 AM4/14/11
to hobo...@googlegroups.com
A simple Hobo page I looked at had 189 DRYML|def comments using the below tip

Indeed that is the source of the mess :-).

Firebug shows the html only after you click on a node, so the ideal behaviour for dryml meta-info would be teh possibility to selectively show only the meta info you are interested in. I have posted in the firebug forum to ask what is the simplest way to achieve that.

ciao
dd

On Thu, Apr 14, 2011 at 10:02 AM, Bryan Larsen <bryan....@gmail.com> wrote:
Very Nice.

A simple Hobo page I looked at had 189 DRYML|def comments using the below tip, so I think it's much more useful mixed into the source to provide context.  But not messing with the source is very appealing -- it's probably worth looking in to.

Bryan
   <mailto:hobo...@googlegroups.com>.

   To unsubscribe from this group, send email to
   hobousers+...@googlegroups.com

Donald R. Ziesig

unread,
Apr 14, 2011, 11:49:06 AM4/14/11
to hobo...@googlegroups.com
In case it got lost in my text,  the problem I saw was acres ;-)   of RENDERED html comments,  complete with local styles, interspersed with a few square inches of my page's content.  It sounds like you guys are seeing html comments that are not rendered, but are viewable in firebug.  The 'official' page content was lost in the comments.

Don Z.
To post to this group, send email to hobo...@googlegroups.com.
To unsubscribe from this group, send email to hobousers+...@googlegroups.com.

Domizio Demichelis

unread,
Apr 14, 2011, 11:55:30 AM4/14/11
to hobo...@googlegroups.com
It sounds like you guys are seeing html comments that are not rendered, but are viewable in firebug.  The 'official' page content was lost in the comments.

That's not what I meant at all. My comment about Firebug is referring to the way it works INTERNALLY, so some sort of selective way to show meta-info is probably doable.

Here is my post
http://groups.google.com/group/firebug/t/9c732dc3a0def5a7

ciao
dd

Matt Frost

unread,
Apr 14, 2011, 1:21:48 PM4/14/11
to hobo...@googlegroups.com
Ok so to start off simple. I took the form call i used earlier and popped it in.  Here is the complete code

<hjq-dialog-open-button dialog="#new-bill-dialog#{this.id}" class="ui-button">New Bill</hjq-dialog-open-button>       
<hjq-dialog id="new-bill-dialog#{this.id}" position="center" minWidth="400" buttons='&[["cancel", "hjq.dialog.close"], ["ok", "hjq.dialog.submit_form"]]'>
    <form with="&@bill || new_for_current_user(this.bills)" owner="case" without-cancel without-submit update="cases" reset-form success="jQuery('#new-bill-dialog#{this.id}').dialog('close')">
        <field-list: skip="case, total">

            <rate-view:>
                <% dialog_id="hjq-dialog-#{typed_id.gsub(':', '-')}" %>
                <% part_id = "select-one-#{typed_id.gsub(':', '-')}" %>
                <input part="select-one-or-new-dialog-select" id="&part_id"/>
                <hjq-dialog-open-button dialog="##{dialog_id}"> New <% this_field.humanize %> </hjq-dialog-open-button>
                <hjq-dialog buttons='&[["cancel", "hjq.dialog.close"], ["ok", "hjq.dialog.submit_formlet_and_close"]]' title="New #{this_field.humanize}" id="&dialog_id" >
                    <formlet with="&@rate || new_for_current_user(@user.rates)" owner="user" update="&part_id" success="jQuery('##{part_id} select').val(jQuery('##{part_id} option:last').val())">

                        <field-list: skip="user, client"/>
                    </formlet>
                </hjq-dialog>
            </rate-view:>
        </field-list:>
    </form>       
</hjq-dialog>

When I run this now, I get the following error.

undefined method `view_name' for #<#<Class:0x656ff10>:0x656db58>

Extracted source (around line #34):

31:     <input part="select-one-or-new-dialog-select" id="&part_id"/>
32:     <hjq-dialog-open-button dialog="##{dialog_id}"> New <% this_field.humanize %> </hjq-dialog-open-button>
33:     <hjq-dialog buttons='&[["cancel", "hjq.dialog.close"], ["ok", "hjq.dialog.submit_formlet_and_close"]]' title="New #{this_field.humanize}" id="&dialog_id" >
34:         <formlet with="&@rate || new_for_current_user(@user.rates)" owner="user" update="&part_id" success="jQuery('##{part_id} select').val(jQuery('##{part_id} option:last').val())">
35:             <field-list: skip="user, client"/>
36:         </formlet>
37:     </hjq-dialog>

Bryan Larsen

unread,
Apr 14, 2011, 1:32:10 PM4/14/11
to hobo...@googlegroups.com
Sorry for debugging formlet for 1.3 in this method. It would be much
easier if I took 15 minutes and tried it myself. Oh well, here's the
change Domizio made to form that we need to move into formlet:

diff --git a/hobo/lib/hobo/rapid/taglibs/rapid_forms.dryml
b/hobo/lib/hobo/rapid/taglibs/rapid_forms.dryml
index 040ac8c..11d0b2e 100644
--- a/hobo/lib/hobo/rapid/taglibs/rapid_forms.dryml
+++ b/hobo/lib/hobo/rapid/taglibs/rapid_forms.dryml
@@ -223,7 +223,7 @@ The standard form tag does not have any parameters,
nor does it have any default
page_path = if (request.post? || request.put?) && params[:page_path]
params[:page_path]
else
- view_name.sub(Dryml::EMPTY_PAGE, params[:action] || '')
+ request.fullpath
end
page_path_hidden = hidden_field_tag("page_path", page_path)
end

Bryan

On 11-04-14 01:21 PM, Matt Frost wrote:
> Ok so to start off simple. I took the form call i used earlier and
> popped it in. Here is the complete code
>
> <hjq-dialog-open-button dialog="#new-bill-dialog#{this.id

> <http://this.id>}" class="ui-button">New Bill</hjq-dialog-open-button>
> <hjq-dialog id="new-bill-dialog#{this.id <http://this.id>}"


> position="center" minWidth="400" buttons='&[["cancel",
> "hjq.dialog.close"], ["ok", "hjq.dialog.submit_form"]]'>
> <form with="&@bill || new_for_current_user(this.bills)" owner="case"
> without-cancel without-submit update="cases" reset-form
> success="jQuery('#new-bill-dialog#{this.id

> <http://this.id>}').dialog('close')">

> <mailto:mdfd...@gmail.com <mailto:mdfd...@gmail.com>>> wrote:
>
> Awesome! Now it will run, I get a nice little new button
> next to my
> select box. The dialog opens when I click new, but it
> doesnt have a
> form inside.
>
>
> On Thu, Apr 14, 2011 at 7:21 AM, Bryan Larsen
> <bryan....@gmail.com <mailto:bryan....@gmail.com>

> <mailto:hobousers%2Bunsu...@googlegroups.com
> <mailto:hobousers%252Buns...@googlegroups.com>
> <mailto:hobousers%252Buns...@googlegroups.com
> <mailto:hobousers%25252Bun...@googlegroups.com>>>.

Matt Frost

unread,
Apr 14, 2011, 3:08:23 PM4/14/11
to hobo...@googlegroups.com
Its ok :) It is rather fun, except now I have to say you kinda lost me. 

I am supposed to replace the view_name.sub line with request.fullpath in the hobo-jquery.dryml? 

When I do that it removes the rest of my buttons in my app, and breaks the dialog boxes.

Is my rapid_forms.dryml supposed to look like that?  It looks like the first line, not the request.fullpath.

Bryan Larsen

unread,
Apr 14, 2011, 9:00:23 PM4/14/11
to hobo...@googlegroups.com
On 11-04-14 03:08 PM, Matt Frost wrote:
> Its ok :) It is rather fun, except now I have to say you kinda lost me.
>
> I am supposed to replace the view_name.sub line with request.fullpath in
> the hobo-jquery.dryml?

That's right.


>
> When I do that it removes the rest of my buttons in my app, and breaks
> the dialog boxes.

OK, that's very strange. Would it be possible for you to recreate a
similar dialog within a dialog scheme on a bare app, package the whole
thing up and send it to me?


>
> Is my rapid_forms.dryml supposed to look like that? It looks like the
> first line, not the request.fullpath.

What version of Hobo are you using? Hobo 1.3 has request.fullpath

https://github.com/tablatom/hobo/blob/rails3/hobo/lib/hobo/rapid/taglibs/rapid_forms.dryml#L226

Bryan

Matt Frost

unread,
Apr 14, 2011, 11:35:42 PM4/14/11
to hobo...@googlegroups.com
Progress!

Ok I removed Hobo and reinstalled everything.  I changed the form line in the dryml. 

My app still gets broken when i copy and paste all the code from the select-one-or-new-dialog like before.  However,  if I remove 

<% dialog_id="hjq-dialog-#{typed_id.gsub(':', '-')}" %>
<% part_id = "select-one-#{typed_id.gsub(':', '-')}" %>

and hard code id's in the rest of the form.  Everything goes back to working again, and now when I click on new next to my rate selection box,  I get the html for the form displayed inside of the box!  It just isnt rendering the html.




--

Bryan Larsen

unread,
Apr 15, 2011, 7:43:13 AM4/15/11
to hobo...@googlegroups.com
Yay! Now you got an error that's easy to understand. Rails3 turns on
XSS protection by default. To fix, just find all instances of
.html_safe in rapid_forms.dryml/form and paste into the formlet code.

Bryan

> <mailto:hobo...@googlegroups.com>.


> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com

> <mailto:hobousers%2Bunsu...@googlegroups.com>.

Matt Frost

unread,
Apr 15, 2011, 10:19:00 AM4/15/11
to hobo...@googlegroups.com
Great!  These are the two lines that need to be changed.


    hiddens_div = element(:div, {:class => "hidden-fields"}, [http_method_hidden, page_path_hidden, auth_token, hiddens].safe_join)
    
    body = [hiddens_div, body].safe_join


My form is displaying now, and it does save the data!.  It just isnt updating the part.  I will get that bit figured out though :)

Thank you for all your help.

Matt Frost

unread,
Apr 15, 2011, 10:34:20 AM4/15/11
to hobo...@googlegroups.com
Oo.  Does skip not work with the field-list on the formlets? 

My form goes blank if I try to skip a field.

Matt Frost

unread,
Apr 15, 2011, 12:37:26 PM4/15/11
to hobo...@googlegroups.com
Just had to define the fields to show :-)

Bob Sleys

unread,
Apr 15, 2011, 7:29:00 PM4/15/11
to hobo...@googlegroups.com
I've been trying to follow this thread because this is something I want to add to an app I've been working on.  I'm not quite at the point where I need to work on this part yet however and much of what I've seen posted here I didn't quite follow.  Could you please summarize how to go about doing this once it's all working that is.

Thanks
Bob

Matt Frost

unread,
Apr 16, 2011, 11:19:00 AM4/16/11
to hobo...@googlegroups.com
Ok so in your hobo-jquery.dryml file replace he following lines:


dryml = Hobo.const_defined?(:Dryml) ? Hobo::Dryml : Dryml

ajax_attrs, html_attrs = attributes.partition_hash(Hobo::RapidHelper::AJAX_ATTRS)

Hobo::Rapid::Helper

hiddens_div = element(:div, {:class => "hidden-fields"}, [http_method_hidden, page_path_hidden, auth_token, hiddens].join)
    
body = [hiddens_div, body].join


With


dryml = defined?(Hobo::Dryml) ? Hobo::Dryml : Dryml

ajax_attrs, html_attrs = attributes.partition_hash(Hobo::Rapid::Helper::AJAX_ATTRS)


hiddens_div = element(:div, {:class => "hidden-fields"}, [http_method_hidden, page_path_hidden, auth_token, hiddens].safe_join)
    
body = [hiddens_div, body].safe_join


I copied the select-one-or-new-dialog into my view instead of using the tag. I also had to remove the dialog and part_id assignments.  I replaced those with dialog-#{object_id} and part-#{object-id}
The success javascript also did not work for me.  I just set the part on the original form and have the formlet update that and close on success.


And you should be good to go.  The only issue I am having is if I have two on a form.  It breaks the second one.  I havent quite figured out why.  It is dropping the name value in the select box and is not getting posted with the rest of the form.

Otherwise, with just one it is works great.



--

Domizio Demichelis

unread,
Apr 24, 2011, 4:48:16 PM4/24/11
to Hobo Users
I tried it for the first time today, and IMO it is absolutely
impossible to take ANY advantage from it. Indeed it escapes the meta-
comments so you have all that soup in the page output itself! :-)

Bryan, since you talk about hiding the comments easily, I suspect you
used it with an old rails that was not escaping them.

ciao
dd

On Apr 14, 11:49 am, "Donald R. Ziesig" <don...@ziesig.org> wrote:
>   In case it got lost in my text,  the problem I saw was acres ;-) of
> RENDERED html comments,  complete with local styles, interspersed with a
> few square inches of my page's content.  It sounds like you guys are
> seeing html comments that are not rendered, but are viewable in
> firebug.  The 'official' page content was lost in the comments.
>
> Don Z.
>
> On 4/14/2011 11:40 AM, Domizio Demichelis wrote:
>
>
>
>
>
>
>
>
>
> >     A simple Hobo page I looked at had 189 DRYML|def comments using
> >     the below tip
>
> > Indeed that is the source of the mess :-).
>
> > Firebug shows the html only after you click on a node, so the ideal
> > behaviour for dryml meta-info would be teh possibility to selectively
> > show only the meta info you are interested in. I have posted in the
> > firebug forum to ask what is the simplest way to achieve that.
>
> > ciao
> > dd
>
> > On Thu, Apr 14, 2011 at 10:02 AM, Bryan Larsen <bryan.lar...@gmail.com
> > <mailto:bryan.lar...@gmail.com>> wrote:
>
> >     Very Nice.
>
> >     A simple Hobo page I looked at had 189 DRYML|def comments using
> >     the below tip, so I think it's much more useful mixed into the
> >     source to provide context.  But not messing with the source is
> >     very appealing -- it's probably worth looking in to.
>
> >     Bryan
>
> >     On 11-04-14 09:49 AM, Domizio Demichelis wrote:
>
> >         I didn't thought about Firebug, but now that you mention it...
> >         it would
> >         be VERY interesting using something like this very new Firebug
> >         extension
> >         in order to add also DRYML specific info!
>
> >        https://addons.mozilla.org/en-US/firefox/addon/railsbug/
>
> >         Take a look at the templates tab (3rd screenshot)
>
> >         ciao
> >         dd
>
> >         On Thu, Apr 14, 2011 at 9:10 AM, Bryan Larsen
> >         <bryan.lar...@gmail.com <mailto:bryan.lar...@gmail.com>
> >         <mailto:bryan.lar...@gmail.com
> >         <mailto:hobo...@googlegroups.com
> >         <mailto:hobo...@googlegroups.com>>.
>
> >            To unsubscribe from this group, send email to
> >         hobousers+...@googlegroups.com
> >         <mailto:hobousers%2Bunsu...@googlegroups.com>
> >         <mailto:hobousers%2Bunsu...@googlegroups.com
> >         <mailto:hobousers%252Buns...@googlegroups.com>>.

Donald R. Ziesig

unread,
Apr 24, 2011, 7:00:31 PM4/24/11
to hobo...@googlegroups.com
Hi Domizio, et. al.,

Now you see why I complained :-) . I tried it and could not use it
because of all the (as you said it) soup (great word)!

I spent a few minutes editing the pre31 generators to put the line

<% if Rails.env == 'development' %> <p class="dryml_file">"#{__FILE__},
#{__LINE__}"</p> <% end %>

at strategic places where it really helps. Unfortunately, I found that
it was translated in some cases to

<p class="dryml_file">"#{__FILE__}, #{__LINE__}"</p>

during the auto generation - this only was a problem when I
transitioned to production mode to help out my beta testers with a
faster site. The file trace output remained wherever I had to copy the
auto/rapid code into my views/zzz directories to customize the
appearance. This means that in those cases I'll have to find the <p ...
/p> lines and replace them with <% if ... end %> code before I finally
deploy the new site to replace the original site.

This is rather a "brute-force" update (and I'll have to repeat it when
pre?? or later comes out) so fixing the escape of the meta-comments and
introducing a way of showing only (for example) the file name and line
number would still be useful (IMHO) as shown in the attached screenshot.

Donz

screenshot.jpg

Domizio Demichelis

unread,
Apr 24, 2011, 7:22:07 PM4/24/11
to hobo...@googlegroups.com
Yes, I fixed it locally and... it's still a big big mess even without escaping. :-)

I have a better idea: a Firebug extension. When you select any node in the HTML view panel, you could have another panel on the side (like the style panel) showing the hierarchy of def and calls that concurred to generate that output.

Let's see whether I find any supporter ;-)

ciao
dd

Donald R. Ziesig

unread,
Apr 24, 2011, 8:00:45 PM4/24/11
to hobo...@googlegroups.com
If you add the file-names and line numbers, I'm all for it.

Don Z.
Reply all
Reply to author
Forward
0 new messages