I'm glad you figured it out.   I realize that I replied without
thinking.  I hope that at least my silly response at least got you
started on the right path.

Bryan

On Mon, Aug 15, 2011 at 12:13 PM, Enrique Moreira <[email protected]> wrote:
> Hello bryan
> i try this in application.dryml
> ...
>             <collection:plan_operativos for="Proyecto" replace>
>                <div>
>                   <table-plus: fields="this,cant"/>
>                </div>
>              </collection:plan_operativos>
> ...
>
> and show next error:
>
> NoMethodError in Proyectos#show
>
> Showing controller: proyectos; dryml-tag: show-page where line #1 raised:
>
> undefined method `member_class' for #<PlanOperativo:0xe2c8694>
>
> if replace below code
> <collection:plan_operativos param/>
> instead <collection...> ...</collection> tag work fine! i need a  table-plus
> for sum values
>
> Regards
> Enrique
>
>> From: [email protected]
>> Date: Mon, 15 Aug 2011 11:47:21 -0400
>> Subject: Re: [Hobo Users] Can use table-plus on application.dryml?
>> To: [email protected]
>>
>> use
>>
>> <collection:plan_operativos for="Proyecto" replace>
>>
>> since you don't want a table plus inside of collection, you want a
>> table-plus instead of a collection.
>>
>> Bryan
>>
>>
>> On Mon, Aug 15, 2011 at 11:45 AM, Enrique Moreira <[email protected]>
>> wrote:
>> > Hello
>> > I have 2 nested models
>> > Proyecto.rb
>> > has_many: plan_operativos
>> > -----
>> > Plan_operativos.rb
>> > cant:
>> > belongs_to: Proyecto
>> >
>> > #in the Show page on application.dryml: need a view table-plus instead
>> > of
>> > : <collection:plan_operativos param/>  <== work fine!
>> > ...
>> > <def tag="show-page" for="Proyecto">
>> > ...
>> > <collection:plan_operativos param>
>> >                <div>
>> >                  <table-plus: fields="this,cant"/>
>> >                </div>
>> >              </collection:plan_operativos>
>> > ...
>> > Any Idea?
>> > Best Regards!
>> > Enrique
>> >
>> > --
>> > 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.
>> >
>>
>> --
>> 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.
>>
>
> --
> 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.
>

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

Reply via email to