Posts by Almir Santos • 67 points
9 posts
-
0
votes2
answers171
viewsQ: Rails update to 5.2 error: The direct method can’t be used Inside a Routes Scope block
I am trying to upgrade the Rails version from version 5.1.2 to version 5.2.2 and I am having the following error when I try to climb the application server: The direct method can't be used inside a…
-
0
votes1
answer139
viewsQ: Nuxt 2 how to serve the Assets correctly in Firebase Host
I’m building a new ssr application using Nuxt 2 and Firebase, I’m trying to deploy my application using Firebase Hosting and Cloud Functions as well as this video however the problem, the video is…
-
1
votes1
answer303
viewsQ: Pick JSON value returned from Laravel
I got the following JSON returned from a controller Laravel: { "id": 105, "tratamento_id": "24", "eim": null, "oft": "12", "codigo_produto": "CO009-1200-1200", "descricao_produto": "COMPENSADO…
-
0
votes1
answer241
viewsQ: What is the best way to integrate Laravel with angular 2?
I know how to create an application using Laravel, and I also know how to create an application using Angular 2/4. But how to integrate the 2 ? would be just creating an Laravel API and another…
-
0
votes4
answers3265
viewsA: Select only 1st row of table
see if this is right... SELECT TOP 1 MAX(remessa.dt_uso_inicio) DATA_REMESSA ,MIN(dt_entorc_oficina) DATA_ABERTURA ,patr.nr_patrimonio PATRIMONIO FROM orcos o JOIN patrimon patr ON o.cd_PATRIMONIO=…
-
0
votes2
answers518
viewsA: Show/ Hide Fields using radiobutton and jQuery
I don’t know if that would be the best way to do it but this way it works... $('#checksim').click(function(){ $('#input').removeAttr('type'); $('#input').attr("type", "text") })…
-
5
votes2
answers10403
viewsA: Back a code block in Visual Studio Code
Select the code block you want to back up and press the key Shift and the key Tab together, or to just give a space in the code select everything and press Tab…
-
0
votes2
answers258
viewsA: How to go back to the previous modal in Bootstrap
try to use: $('#modalItensRomaneio').modal('toggle');
-
0
votes2
answers4266
viewsQ: Laravel Insert data into a table and use the same id to fill another
I am starting in Laravel and I have a problem related to inserting data in two tables of mysql... explaining better would be the following: I have a table called questionnaires where I have only ID…