called for dController

2010/6/18 Andrey Voronkov <[email protected]>

> I have an error like this:
>
> protected method `active_scaffold_constraints' called for
>
>
> 2010/6/17 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>
>
>> On Jueves, 17 de Junio de 2010 09:35:13 Andrey Voronkov escribió:
>> > Good idea, can you provide little code sample of defining index view
>>
>> I have never used embedded scaffolds, but I will try:
>>
>> <%= render :active_scaffold => 'a', :constraints =>
>> @controller.active_scaffold_constraints %>
>> <%= render :active_scaffold => 'b', :constraints =>
>> @controller.active_scaffold_constraints %>
>> <%= render :active_scaffold => 'c', :constraints =>
>> @controller.active_scaffold_constraints %>
>>
>> >
>> > 2010/6/17 Sergio Cambra .:: entreCables S.L. ::. <
>> [email protected]>
>> >
>> > > On Jueves, 17 de Junio de 2010 08:19:08 Andrey Voronkov escribió:
>> > > > my situation:
>> > > > I want to use config.nested.add_link [:a, :b, :c]
>> > > > But :a, :b and :c are not associations I want they point to one
>> > >
>> > > association
>> > >
>> > > > :d, but configured by different controllers
>> > >
>> > > Try adding link for :d and in dController define index view using
>> render
>> > >
>> > > :active_scaffold for :a, :b and :c
>> > > :
>> > > > aController < ApplicationController
>> > > >   active_scaffold :d do |config|
>> > > >   ... something
>> > > >   end
>> > > > end
>> > > >
>> > > > bController < ApplicationController
>> > > >   active_scaffold :d do |config|
>> > > >   ... something else
>> > > >   end
>> > > > end
>> > > >
>> > > > and so on
>> > > >
>> > > > I need this because i want to split my one table (about 20 viewable
>> > > > columns) view into three or four nested views. 5 columns each
>> > > > Is that possible somehow?
>> > >
>> > > --
>> > > Sergio Cambra .:: entreCables S.L. ::.
>> > > Mariana Pineda 23, 50.018 Zaragoza
>> > > T) 902 021 404 F) 976 52 98 07 E) [email protected]
>> > >
>> > > --
>> > > 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]<activescaffold%[email protected]>
>> <activescaffold%2Bunsubscribe@
>> > >googlegroups.com> .
>> > > For more options, visit this group at
>> > > http://groups.google.com/group/activescaffold?hl=en.
>>
>> --
>> Sergio Cambra .:: entreCables S.L. ::.
>> Mariana Pineda 23, 50.018 Zaragoza
>> T) 902 021 404 F) 976 52 98 07 E) [email protected]
>>
>> --
>> 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]<activescaffold%[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