LOG
Processing by ExportacionController#index as HTML
Parameters: {"selector"=>{"tipo"=>"matriz", "fecha_inicio(3i)"=>"1", "fecha_inicio(2i)"=>"6", "fecha_inicio(1i)"=>"2018", "fecha_fin(3i)"=>"1", "fecha_fin(2i)"=>"6", "fecha_fin(1i)"=>"2018"}, "commit"=>"Seleccionar", "seccion"=>"proyectos", "proyecto_id"=>"5", "menu"=>"formulacion"}
Completed 500 Internal Server Error in 35ms (ActiveRecord: 8.0ms)
ActiveRecord::StatementInvalid (Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'resultado WHERE (objetivo_especifico.proyecto_id=5 OR resultado.proyecto_id=5)' at line 1: SELECT indicador.* FROM indicador objetivo_especifico resultado WHERE (objetivo_especifico.proyecto_id=5 OR resultado.proyecto_id=5)):
app/controllers/exportacion_controller.rb:428:in exportar_matriz' app/controllers/exportacion_controller.rb:80:in index'