Using active_scaffold 3.4.31 from 
git://github.com/activescaffold/active_scaffold.git (at master)


class Fiche < ActiveRecord::Base

  self.table_name = "pers"
end

class Membre< ActiveRecord::Base

  self.table_name = "pers"
end

class Vehicule< ActiveRecord::Base

  self.table_name = "vehicules"
end

class FichesController < ApplicationController

 active_scaffold :fiche do |config|

end

end

class MembresController < ApplicationController

 active_scaffold :membre do |config|

end

end

class VehiculesController < ApplicationController

 active_scaffold :vehicule do |config|

end


end

during the loading of the page i've the right label but when loading is 
over the wrong label is show... and the create link never show on the 
second and third render scaffolding

Le mardi 22 décembre 2015 12:01:35 UTC+1, Sergio Cambra a écrit :
>
> It shouldn't happen, and I have some ones working. Do these controllers 
> inherit from some common one which uses active_scaffold? What version? 
>
> El Martes, 22 de diciembre de 2015 02:53:13 Gloufy escribió: 
> > 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=c497f580171825454caf2 
> > 482f29fce99> 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=7342eaf7708e03ba2d1d 
> > 0bd97ef55e23> 1 Trouvé 
> > 
> > Fiches 
> > Type 
> > <
> http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1 
> > eb8941d&page=1&sort=Type&sort_direction=ASC> Marque 
> > <
> http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1 
> > eb8941d&page=1&sort=Marque&sort_direction=ASC> 
> > 
> > Marque 
> > 
> > Voiture 
> > Modele 
> > <
> http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1 
> > eb8941d&page=1&sort=Modele&sort_direction=ASC> Annee 
> > <
> http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1 
> > eb8941d&page=1&sort=Annee&sort_direction=ASC> Couleur 
> > <
> http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1 
> > eb8941d&page=1&sort=Couleur&sort_direction=ASC> Nombredeplace 
> > <
> http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1 
> > eb8941d&page=1&sort=nombredeplace&sort_direction=ASC> Immatriculation 
> > <
> http://ns3267175.ip-5-39-80.eu:3000/vehicules?eid=7276d2d089323a2f9edfff4d1 
> > eb8941d&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=7276d2d089323a2f9e 
> > dfff4d1eb8941d> 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