i think activescaffold doesn't like if two different model has the same 
table...
when i want to edit a record from members controller, it takes the 
fichescontroller to maker rules ...

Le mardi 22 décembre 2015 11:53:13 UTC+1, Gloufy a écrit :
>
> Hi,
>
> When i have many  embembed scaffold in the same views like this :
>
> <%=render :active_scaffold => "fiches",:label=>"Fiches"%>
>
> <%=render :active_scaffold => "membres",:label=>"Membres"%>
>
> <%=render :active_scaffold => "vehicules",:label=>"Véhicules"%>
>
>
> Fiches
>
> Photo portrait
>
> Photo en pied
>
> To label
> TOTO CÉDRIC[image: loading indicator]Éditer 
> <http://ns3267175.ip-5-39-80.eu:3000/fiches/2/edit?eid=c497f580171825454caf2482f29fce99>
> 1 Trouvé
>
> Fiches
>
> Photo portrait
>
> Photo en pied
>
> To label
> TOTO MARIO[image: loading indicator]Éditer 
> <http://ns3267175.ip-5-39-80.eu:3000/membres/3/edit?eid=7342eaf7708e03ba2d1d0bd97ef55e23>
> 1 Trouvé
>
> Fiches
> Type 
> <http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1eb8941d&page=1&sort=Type&sort_direction=ASC>
> Marque 
> <http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1eb8941d&page=1&sort=Marque&sort_direction=ASC>
>
> Marque
>
> Voiture
> Modele 
> <http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1eb8941d&page=1&sort=Modele&sort_direction=ASC>
> Annee 
> <http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1eb8941d&page=1&sort=Annee&sort_direction=ASC>
> Couleur 
> <http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1eb8941d&page=1&sort=Couleur&sort_direction=ASC>
> Nombredeplace 
> <http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1eb8941d&page=1&sort=nombredeplace&sort_direction=ASC>
> Immatriculation 
> <http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1eb8941d&page=1&sort=immatriculation&sort_direction=ASC>
>
> Photo
> Roller--------[image: loading indicator]Éditer 
> <http://ns3267175.ip-5-39-80.eu:3000/vehicules/5/edit?eid=7276d2d089323a2f9edfff4d1eb8941d>
> 1 Trouvé
>
>
> And i have the wrong label.
> And if a put config.create.link =false in the first controller (fiches), i 
> haven't the create link on the other embembed scaffold
>
> Why ?
>
> Thank you so much
>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to