Even in the options_for_association_conditions method in vendor/
plugins/active_scaffold/lib/active_scaffold/helpers/
association_helpers.rb file

When do it have to pass through this association method?

Thx for help

On 29 sep, 18:25, iUser59 <[email protected]> wrote:
> Maybe a options_for_association_conditions method should work, but it
> doesn't pass through this helper method :(
>
> On 29 sep, 16:16, iUser59 <[email protected]> wrote:
>
>
>
> > HelloWorld,
>
> > I need your help to make possible to create a nested link which
> > display only some items and onClick, display this same items.
>
> > That's not very clear so maybe on example should be great.
>
> > I have a toto1 and toto2 models
>
> > ##
> > class Toto1 < ActiveRecord::Base
> > has_and_belongs_to_many :toto2s
> > end
>
> > class Toto2 < ActiveRecord::Base
> > has_and_belongs_to_many :toto1s
> > end
>
> > ##
> > in my database, I have a field "customField" in the toto2s table
>
> > I have toto1 and toto2 managed by active_scaffold.
>
> > I would like to customize the toto2 column in toto1 to show all the
> > toto2 items linked to toto1 **AND** which have customField set to true
> > (Helper do this) and on click, show only this items in the sub
> > scaffold which appear.
>
> > How can I make it possible please?
>
> > Thx in adv.
--~--~---------~--~----~------------~-------~--~----~
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