On 19/02/2015 05:46 a.m., Sergio Cambra wrote:
El Miércoles, 18 de febrero de 2015 18:57:12 bencarsal escribió:
When click over submit button, trigger one ajax that replace #contenido div
with a embedded active scaffold controller (competencias), but this shows
nothing.

Log here:
*************************************
{"utf8"=>"?", "grado"=>"21", "materia"=>"68", "controller"=>"competencias",
"action"=>"lista"}
*************************************
   Rendered C:/proyectos/rectorware5/app/views/competencias/lista.html.haml
(1037.0ms)
Completed 200 OK in 1106ms (Views: 1043.0ms | ActiveRecord: 32.0ms)

The render: :active_scaffold => "competencias", :constraints =>
{:materia_id=> @materia_id, :grado_id=> @grado_id} don't work with ajax
call, and i have reviewed the source code to locate the reason, and I could
not. I need your help to resolve the impasse, please.
What's the response of that request (competencias#lista)?

Thanks Sergio, is supposed to render the index, but does not answer anything. I think the ajax request is ignored. The log above is all...

--
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 http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to