Yep, I'm using rails-2-3 branch. Question stays open.
In rails-2-3 branch of AS nested_parent_id method does exist.

2011/7/8 vhochstein <[email protected]>:
> Hi,
>
> forgot what I ve suggested, you are using activescaffold for Rails
> 2.x.
>
> My suggestion only works for rails 3.x
>
> --
> Volker
>
> On Jul 8, 12:54 pm, Andrey Voronkov <[email protected]> wrote:
>> Can you explain more please,
>>
>> So I have an attr_accessor :event in my Period model. If periods are
>> nested I should pass nested_parent_record result to it, but I don't
>> know how.
>>
>> config.nested.add_link('More', [:finaincings]) # in my PeriodsController
>> how should I pass event_id to the financings?
>>
>> 2011/7/8 vhochstein <[email protected]>:
>>
>>
>>
>>
>>
>>
>>
>> > Hi,
>>
>> > you should have access to helper nested_parent_record.
>>
>> > Hope that helps.
>>
>> > --
>> > Volker
>>
>> > On Jul 6, 7:26 am, Andrey Voronkov <[email protected]> wrote:
>> >> I have this models:
>>
>> >> Period ----< Financing >---- Event
>>
>> >> In nested scaffold for event I need to display periods with virtual
>> >> columns based on sum financings of this event. How can I implement
>> >> this? I mean that Period model itself doesn't know for what Event it
>> >> displayed now in nested scaffold.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "ActiveScaffold : Ruby on Rails plugin" 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 
>> > athttp://groups.google.com/group/activescaffold?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to